diff --git a/etc/tools/ParaViewFunctions b/etc/tools/ParaViewFunctions index 3f5ceea0..da0585f1 100644 --- a/etc/tools/ParaViewFunctions +++ b/etc/tools/ParaViewFunctions @@ -413,7 +413,12 @@ configRenderingBackend() # Choose the rendering engine if [ -n "${RENDERING_BACKEND}" ] then - addCMakeVariable "VTK_RENDERING_BACKEND=$RENDERING_BACKEND" + addCMakeVariable "VTK_RENDERING_BACKEND=${RENDERING_BACKEND}" + + if [ "${RENDERING_BACKEND}" = "OpenGL" ] + then + addCMakeVariable "VTK_LEGACY_SILENT=ON" + fi else usage "*** Error: No rendering backend is defined" fi