X11Drv: import ConvertPixelFormatWGLtoGLX from opengl32

Roderick Colenbrander thunderbird2k at gmx.net
Sun Aug 27 16:10:32 CDT 2006


Hi,

Recently I added code to x11drv and opengl32 which improved our pixelformat reporting. To both dlls I added a function to convert WGL pixelformats to GLX pixelformats. In case of x11drv the function only supported x11drv's main visual.

At the time of writing I wasn't planning on moving WGL code over to GLX, so that's why I kept the x11drv version of the function 'simple'. In order to be able to fix a few bugs without having to add new Escape codes, I must move the GLX code to x11drv.

To prepare the transition this patch replaces the pixelformat conversion function with the 'advanced' one from opengl32.

Regards,
Roderick Colebnrader
-- 


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_wgl1.patch
Type: text/x-diff
Size: 8845 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060827/926588fb/x11drv_wgl1.bin


More information about the wine-patches mailing list