X11DRV: fix fbconfig regression
thunderbird2k at gmx.net
Fri Sep 15 10:34:04 CDT 2006
During my opengl rewrite I caused a regression (bug 6205) in the opengl code. There's a piece of code which checks the GLX version and based on the GLX version certain GLX functions are loaded. In the rewrite some code got changed and I forgot to take those changes into account.
There's this check:
if ((!WineGLInfo.glxDirect && !strcmp("1.2", WineGLInfo.glxServerVersion)) ||
(WineGLInfo.glxDirect && !strcmp("1.2", WineGLInfo.glxClientVersion)))
When the if-statement is 'true' the GLX version is 1.2 and we should check for the GLX_SGIX_fbconfig extension. Else the version is 1.3 or newer and then certain functions are standard GLX functionality.
By accident I switched the contents of the if and else blocks. This code swaps it and fixed bug 6205.
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
More information about the wine-patches