]> Creatis software - clitk.git/commitdiff
VTK remove ImmediateModeRendering due to
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Fri, 7 Sep 2018 09:14:07 +0000 (11:14 +0200)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Fri, 7 Sep 2018 09:14:07 +0000 (11:14 +0200)
Does not make sense for OpenGL2 and is not implemented

vv/vvSlicer.cxx

index a53daf24da6eda141db18747f319af5fb0d452cd..7405a450bb67f3e35f23aedfbd39abba34cfa8cf 100644 (file)
@@ -653,7 +653,9 @@ void vvSlicer::SetVF(vvImage::Pointer vf)
 #else
     mVFMapper->SetInputConnection(mGlyphFilter->GetOutputPort());
 #endif
+#ifndef VTK_OPENGL2
     mVFMapper->ImmediateModeRenderingOn();
+#endif
     mVFMapper->SetLookupTable(mVFColorLUT);
 
     if (!mVFActor)