From: tbaudier Date: Fri, 7 Sep 2018 09:14:07 +0000 (+0200) Subject: VTK remove ImmediateModeRendering due to X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=f4eb79e1b67e9c592a1deba19aa94af365bf2df9;p=clitk.git VTK remove ImmediateModeRendering due to Does not make sense for OpenGL2 and is not implemented --- diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index a53daf2..7405a45 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -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)