1/2 WGL: split X11DRV_SetPixelFormat

Roderick Colenbrander thunderbird2k at gmx.net
Wed Apr 23 13:48:07 CDT 2008


Hi,

This patch is in preparation of my WGL_WINE_pixel_format_passthrough patch which adds wglSetPixelFormatWINE which allows you to set a pixel format multiple times. The wglSetPixelFormatWINE which I submitted before hackily does 'physDev->current_pf=0', so it can just call X11DRV_SetPixelFormat which  checks if current_pf is set. It is a lot nicer to have one common SetPixelFormat function and to not have to use ugly hacks like this.

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-Put-the-core-functionality-of-X11DRV_SetPixelFormat.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080423/e0936b45/attachment.bin 


More information about the wine-patches mailing list