winex11: Use GLXFBConfig for the pixel format list
Chris Robinson
chris.kcat at gmail.com
Sun Dec 31 20:43:26 CST 2006
This greatly simplifies some of the wgl code by keeping around a single
customized fbconfig array, instead of holding a static, custom-typedef array
which left many functions to query glx for the fbconfig list anyway (which in
turn caused many needless, potentially problematic allocations and
deallocations of memory).
This doesn't change the behavior of the code, but it makes it simpler for
future enhancements (such as supporting extra fbconfigs for on-screen or
off-screen use), and easier maintanence by removing a lot of duplicate code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winex11_ogl.diff.gz
Type: application/x-gzip
Size: 9783 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061231/3d182a39/winex11_ogl.diff.bin
More information about the wine-patches
mailing list