WGL: proper stereo / double buffering support for ChoosePixelFormat
Roderick Colenbrander
thunderbird2k at gmx.net
Sun Aug 12 07:44:31 CDT 2007
Hi,
This patch makes us properly support double buffering / stereo. In all our
previous attempts we discarded a format when it didn't have one of the
requested flags (PFD_STEREO / PFD_DOUBLEBUFFERING) set.
The incorrect handling of the flags was due to unclear MSDN documentation and
it was hard to test on Windows. By accident I had access to an old card which
didn't support stereo. Tests on that card indicated that when PFD_STEREO is
not set, formats without should be returned. This fixes bug 7015 (crash on
Doom III) and it will also help bug 6812.
Regards,
Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Finally-add-proper-double-buffering-stereo-support.patch
Type: text/x-diff
Size: 3990 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070812/d80b175e/0007-Finally-add-proper-double-buffering-stereo-support-0001.bin
More information about the wine-patches
mailing list