WGL/WINED3D: add WGL_WINE_pixel_format_passthrough

Chris Robinson chris.kcat at gmail.com
Thu Mar 6 18:15:20 CST 2008

On Thursday 06 March 2008 02:36:41 pm Roderick Colenbrander wrote:
> 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.

I'm pretty sure this can cause a resource leak if it's done on a D3D child 
window (the existing offscreen surfaces won't be destroyed). Though I can't 
say I like the idea of the patch since it does nothing for non-Wine, or even 
non-winex11.drv Wine, to fix the issue.

More information about the wine-devel mailing list