WGL/WINED3D: add WGL_WINE_pixel_format_passthrough

Roderick Colenbrander thunderbird2k at gmx.net
Thu Mar 6 16:36:41 CST 2008


Hi,

Since the unleashing of additional WGL pixel formats, WineD3D can use multiple pixel formats too. Direct3D sets the pixel format at device creation time BUT it can also be set again on a device reset. In other words the pixel format can be changed.

WGL only allows you to set the pixel format once for a HDC. This requires a WINE-specific WGL extension which allows us to set the pixel format again. The patch does this and it works correctly in DirectX8/9 SDK samples.

Regards,
Roderick Colenbrander
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-WINE-specific-WGL-extension-WGL_WINE_pixel_fo.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080306/8f8c870c/attachment.bin 


More information about the wine-patches mailing list