diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-24 05:06:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-24 05:06:54 +0400 |
commit | ae9675a585f75cf9229197ad8cff26bdd0693705 (patch) | |
tree | a4c3186c600936f012c85e94047edb4935904e72 /intern | |
parent | 7c004d289275f51b789529d964a24aea208914fc (diff) |
disable GL_MULTISAMPLE_ARB by default on X11 (same as OSX cocoa)
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp index dd1930a241b..156bc86869a 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cpp @@ -1265,6 +1265,10 @@ activateDrawingContext() { if (m_context != NULL) { glXMakeCurrent(m_display, m_window, m_context); + /* Disable AA by default */ + if (m_numOfAASamples > 0) { + glDisable(GL_MULTISAMPLE_ARB); + } return GHOST_kSuccess; } return GHOST_kFailure; |