]> 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 a5a0215fb1d3cc31aa8b0b66137ce67d6d22b0e6..ef7764d22da298ee8705ffbbdb0a84427e15581f 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"