1/2 WGL: remove the pixel format limitation (!)

Roderick Colenbrander thunderbird2k at gmx.net
Fri Feb 22 14:16:23 CST 2008


Hi,

This patch lifts the pixel format limitation from WGL. It fixes apps that are picky about the pixel format and won't run now, it will allow more 3d features (e.g. multisampling, stereo and srgb) and it can offer more performance.

The patch only adds formats for which the depth of the main visual matches the depth of the format itself in order to prevent BadMatch issues in case of child window rendering. In general this only 'eats' away a handful ARGB visuals on nvidia hardware (they duplicate most RGB formats as ARGB but we don't have a need for it yet).

WineD3D has some small issues due to this change but those should be investigated by Stefan, Chris, me and others. The code should get a lot of testing as soon as possible.

Regards,
Roderick Colenbrander
-- 
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! 
http://games.entertainment.web.de/de/entertainment/games/free
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Lift-the-WGL-pixel-format-limitation-from-our-OpenGL.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080222/a554d8a5/attachment-0001.bin 


More information about the wine-patches mailing list