WGL: fix wglChoosePixelFormatARB behavior [attempt 2]
thunderbird2k at gmx.net
Wed Aug 1 15:22:46 CDT 2007
According to the specs wglChoosePixelFormatARB returns the number of matching
pixelformats. This number can be different than the size of the return buffer
which is given by nFormats.
Unfortunately glXChooseFBConfig doesn't return all formats when NULL is passed
for the attributes. This is due to some default settings not being 0
or 'Don't care'. This required changes to ConvertAttribWGLtoGLX.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3551 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070801/19505225/0005-According-to-the-specs-wglChoosePixelFormatARB-retur.bin
More information about the wine-patches