[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25840] trunk/blender/intern/ghost/intern/ GHOST_WindowX11.cpp: FSAA: was not disabled on X11 correctly.
Brecht Van Lommel
brecht at blender.org
Fri Jan 8 18:41:04 CET 2010
Revision: 25840
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25840
Author: blendix
Date: 2010-01-08 18:41:04 +0100 (Fri, 08 Jan 2010)
Log Message:
-----------
FSAA: was not disabled on X11 correctly.
Modified Paths:
--------------
trunk/blender/intern/ghost/intern/GHOST_WindowX11.cpp
Modified: trunk/blender/intern/ghost/intern/GHOST_WindowX11.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowX11.cpp 2010-01-08 17:38:16 UTC (rev 25839)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowX11.cpp 2010-01-08 17:41:04 UTC (rev 25840)
@@ -189,7 +189,7 @@
attributes[i++] = GLX_GREEN_SIZE; attributes[i++] = 1;
attributes[i++] = GLX_DEPTH_SIZE; attributes[i++] = 1;
/* GLX 1.4+, multi-sample */
- if((glxVersionMajor >= 1) && (glxVersionMinor >= 4)) {
+ if(m_numOfAASamples && (glxVersionMajor >= 1) && (glxVersionMinor >= 4)) {
attributes[i++] = GLX_SAMPLE_BUFFERS; attributes[i++] = 1;
attributes[i++] = GLX_SAMPLES; attributes[i++] = m_numOfAASamples;
}
More information about the Bf-blender-cvs
mailing list