WGL: pixel format attributes

Roderick Colenbrander thunderbird2k at gmx.net
Thu Nov 30 16:55:08 CST 2006


This patch relaxes our pixel format attribute conversion code a bit. The code was for a part wrong as multiple 'different' options touched GLX_X_RENDERABLE. All could be set at the same time and 'undo' each other. This caused issues in some demos and games. Second the number of pixelformats we support is limited to 1 right now. Due to this setting of this flag to false prevents us from selecting any formats (all formats we support are renderable by X). We have to 'lie' to prevent programs from crashing.

Roderick Colenbrander
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wgl_attributes.patch
Type: text/x-patch
Size: 2709 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061130/75e9e7f3/wgl_attributes.bin

More information about the wine-patches mailing list