Commit 82a6cacf authored by Boris Basic's avatar Boris Basic

Enable MSAA if available

parent d147a82a
......@@ -836,8 +836,7 @@ void vtkOpenGLState::Initialize(vtkOpenGLRenderWindow *)
? ::glEnable(GL_CULL_FACE) : ::glDisable(GL_CULL_FACE);
#ifdef GL_MULTISAMPLE
this->CurrentState.MultiSample
? glEnable(GL_MULTISAMPLE) : glDisable(GL_MULTISAMPLE);
this->CurrentState.MultiSample = glIsEnabled(GL_MULTISAMPLE) == GL_TRUE;
#endif
// initialize blending for transparency
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment