Disable OpenGL anti-aliasing by default for now.

This commit is contained in:
Damien Plisson 2010-01-06 15:34:49 +00:00
parent 907ee73e23
commit a994a52497
2 changed files with 4 additions and 1 deletions

@ -877,6 +877,9 @@ GHOST_TSuccess GHOST_WindowCocoa::activateDrawingContext()
if (m_openGLContext != nil) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
[m_openGLContext makeCurrentContext];
// Disable AA by default
if (m_numOfAASamples > 0) glDisable(GL_MULTISAMPLE_ARB);
[pool drain];
return GHOST_kSuccess;
}

@ -313,7 +313,7 @@ static void wm_window_add_ghostwindow(wmWindowManager *wm, char *title, wmWindow
inital_state,
GHOST_kDrawingContextTypeOpenGL,
0 /* no stereo */,
4 /* 4x AA */);
0 /* no AA */);
if (ghostwin) {