From 0a7a95b1e742815194b3f2ceae579b3cec3e6cb9 Mon Sep 17 00:00:00 2001
From: Ansgar Philippsen <ansgar.philippsen@gmail.com>
Date: Tue, 11 Jan 2011 18:20:38 -0500
Subject: [PATCH] temporary fix for unclear multisample handling under opengl
 2.0

---
 modules/gfx/src/scene.cc | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/modules/gfx/src/scene.cc b/modules/gfx/src/scene.cc
index cdbec3ef4..3f365e0ba 100644
--- a/modules/gfx/src/scene.cc
+++ b/modules/gfx/src/scene.cc
@@ -385,9 +385,7 @@ void Scene::InitGL(bool full)
     glDisable(GL_LINE_SMOOTH);
     glDisable(GL_POINT_SMOOTH);
     glDisable(GL_POLYGON_SMOOTH);
-#if defined(OST_GL_VERSION_2_0)
-    glDisable(GL_MULTISAMPLE);
-#endif
+    glEnable(GL_MULTISAMPLE);
   } else {
     glEnable(GL_LINE_SMOOTH);
     glDisable(GL_POINT_SMOOTH);
@@ -1880,9 +1878,7 @@ void Scene::render_stereo()
   glDisable(GL_BLEND);
   glDisable(GL_LINE_SMOOTH);
   glDisable(GL_POINT_SMOOTH);
-#if defined(OST_GL_VERSION_2_0)
   glDisable(GL_MULTISAMPLE);
-#endif
   glMatrixMode(GL_PROJECTION);
   glPushMatrix();
   glLoadIdentity();
-- 
GitLab