FSAA: was not disabled on X11 correctly.

This commit is contained in:
Brecht Van Lommel
2010-01-08 17:41:04 +00:00
parent 14646a143b
commit b504a48854

View File

@@ -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;
}