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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-08 20:41:04 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-08 20:41:04 +0300
commitb504a48854aa2fb90264795aee7aedcfde498ca6 (patch)
tree6fb4b3cadb43a075d61c6d3ffe84ff9d1663d2ed /intern/ghost
parent14646a143b86b9e0bc6aded2dde9120757601f8a (diff)
FSAA: was not disabled on X11 correctly.
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_WindowX11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp
index f99cda173bb..4afaa09b3f1 100644
--- a/intern/ghost/intern/GHOST_WindowX11.cpp
+++ b/intern/ghost/intern/GHOST_WindowX11.cpp
@@ -189,7 +189,7 @@ GHOST_WindowX11(
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;
}