Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-11-24 05:06:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-24 05:06:54 +0400
commitae9675a585f75cf9229197ad8cff26bdd0693705 (patch)
treea4c3186c600936f012c85e94047edb4935904e72 /intern
parent7c004d289275f51b789529d964a24aea208914fc (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.cpp4
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;