From f4eb79e1b67e9c592a1deba19aa94af365bf2df9 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Fri, 7 Sep 2018 11:14:07 +0200 Subject: [PATCH] VTK remove ImmediateModeRendering due to Does not make sense for OpenGL2 and is not implemented --- vv/vvSlicer.cxx | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.47.1