WineD3D: dynamicly load WGL functions [attempt 3]

Roderick Colenbrander thunderbird2k at gmx.net
Thu Aug 16 08:08:46 CDT 2007


Hi,

In this version of the patch WGL functions are loaded from opengl32.dll when 
USE_WIN32_OPENGL is set. In all other cases gdi32.dll is used. Standard wgl 
functions have been prefixed with a 'p' to prevent issues with wingdi.h.

The patch has been tested on wine with and without USE_WIN32_OPENGL. That 
worked fine. I haven't been able to test windows but I expect it to work 
there as USE_WIN32_OPENGL worked on wine.

Regards,
Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Dynamicly-load-WGL-functions-from-gdi32.dll-opengl32.patch
Type: text/x-diff
Size: 9987 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070816/10858a9c/0001-Dynamicly-load-WGL-functions-from-gdi32.dll-opengl32.bin


More information about the wine-patches mailing list