Hi, thanks for the clarification. Everything is fine then. Thank you for the patch.
BTW, do you know how to improve OpenGL performance in wine? I get about 10-30% drop in FPS compared to the Windows version (the card is overclocked about 10% both in CPU and memory frequencies in windows, so that might explains some of the performance drop). I set UseDGA to Y in "wine regedit" but that doesn't seem to help at all.
Thanks again, Toan
WGL_COLOR_BITS_ARB cannot be 32 (was a bug i have corrected recently) see http://www.nvidia.com/dev_content/nvopenglspecs/WGL_ARB_pixel_format.txt
WGL_COLOR_BITS_ARB
The number of color bitplanes in each color buffer. For RGBA
pixel types, it is the size of the color buffer, excluding the
alpha bitplanes. For color-index pixels, it is the size of the
color index buffer.
So for 32 bits FBConfig, it should be 24 (8 bits per RGB channels) + 8 for Alpha channel
If Q2E expect 32 bits for WGL_COLOR_BITS_ARB its a bug :)
And 24 bits limitation is a X limitation (X display cannot support alpha-channel) not an ATI limitation. Anyway, 24 bits displays usually support 32 bits using GLX :)
Toan
Regards, Raphael