forked from bartvdbraak/blender
Disable OpenGL anti-aliasing by default for now.
This commit is contained in:
parent
907ee73e23
commit
a994a52497
@ -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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user