diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-08 20:41:04 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-08 20:41:04 +0300 |
commit | b504a48854aa2fb90264795aee7aedcfde498ca6 (patch) | |
tree | 6fb4b3cadb43a075d61c6d3ffe84ff9d1663d2ed /intern | |
parent | 14646a143b86b9e0bc6aded2dde9120757601f8a (diff) |
FSAA: was not disabled on X11 correctly.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.cpp | 2 |
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; } |