WGL: fix wglChoosePixelFormatARB behavior [attempt 3]

Roderick Colenbrander thunderbird2k at gmx.net
Wed Aug 1 16:23:19 CDT 2007


wglChooosePixelFormatARB returns the total number of matching pixelformats and 
not the number of pixelformats stored in the buffer. This didn't work due to 
bugs in wglChoosePixelFormatARB but also due to strange behavior of 
glXChooseFBConfig. Some of its default values are not zero or GLX_DONT_CARE 
which cause some formats not to appear.

Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-wglChooosePixelFormatARB-returns-the-total-number-of.patch
Type: text/x-diff
Size: 6072 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070801/b1715931/0005-wglChooosePixelFormatARB-returns-the-total-number-of.bin

More information about the wine-patches mailing list