WGL: fix wglChoosePixelFormatARB behavior
Roderick Colenbrander
thunderbird2k at gmx.net
Wed Aug 1 12:54:11 CDT 2007
Hi,
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.
This bug wasn't bad before but that was because we only offered 1 pixelformat
for onscreen and offscreen rendering.
Regards,
Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-According-to-the-specs-wglChoosePixelFormatARB-retur.patch
Type: text/x-diff
Size: 878 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070801/d5b0b835/0005-According-to-the-specs-wglChoosePixelFormatARB-retur.bin
More information about the wine-patches
mailing list