From b504a48854aa2fb90264795aee7aedcfde498ca6 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 8 Jan 2010 17:41:04 +0000 Subject: FSAA: was not disabled on X11 correctly. --- intern/ghost/intern/GHOST_WindowX11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern') 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; } -- cgit v1.2.3