]> Creatis software - clitk.git/commitdiff
Add VTK_MODULE_INIT
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 9 Jun 2016 08:04:12 +0000 (10:04 +0200)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 9 Jun 2016 08:04:12 +0000 (10:04 +0200)
vv/vv.cxx

index a5a0215..ef7764d 100644 (file)
--- a/vv/vv.cxx
+++ b/vv/vv.cxx
 #include <QDesktopWidget>
 #include <QDir>
 
+#include <vtkAutoInit.h>
+ VTK_MODULE_INIT(vtkInteractionStyle);
+ VTK_MODULE_INIT(vtkRenderingOpenGL);
+ VTK_MODULE_INIT(vtkRenderingFreeType);
+#define vtkRenderingContext2D_AUTOINIT 1(vtkRenderingContextOpenGL)
+
+
 #include "clitkIO.h"
 #include "vvMainWindow.h"
 #include "vvReadState.h"