X11DRV: wgl fix pixelformat bug

Roderick Colenbrander thunderbird2k at gmx.net
Tue Oct 3 15:56:20 CDT 2006


Hi,

This patch fixes a small bug in wglCreateContext. The function creates a GLX context using a certain WGL pixel format. For creating a GLX context an X visual id is needed. For this conversion ConvertPixelFormat is used but during the porting of the WGL extension code to winex11.drv (in that transition I rewrote ConvertPixelFormat) I switched the last two parameters (index and count). This patch corrects that and fixes bug 5959.

Regards,
Roderick Colenbrander
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x11drv_wgl_fix.patch
Type: text/x-diff
Size: 635 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061003/6888fb81/x11drv_wgl_fix.bin


More information about the wine-patches mailing list