=bmesh= merge from trunk at r36529
[blender.git] / source / gameengine / Rasterizer / RAS_OpenGLRasterizer / RAS_OpenGLRasterizer.cpp
index 4eeb6796c14756345182ac69d18e5e1b6d815091..55f36dcd772484e3020112c96096e2e5c2e00f90 100644 (file)
@@ -303,6 +303,8 @@ bool RAS_OpenGLRasterizer::BeginFrame(int drawingmode, double time)
 
        glShadeModel(GL_SMOOTH);
 
+       glEnable(GL_MULTISAMPLE_ARB);
+
        m_2DCanvas->BeginFrame();
        
        return true;
@@ -387,6 +389,9 @@ void RAS_OpenGLRasterizer::EndFrame()
        FlushDebugLines();
 
        glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
+
+       glDisable(GL_MULTISAMPLE_ARB);
+
        m_2DCanvas->EndFrame();
 }