WineD3D: link against opengl32 for wgl functions

Roderick Colenbrander thunderbird2k at gmx.net
Tue Aug 14 08:12:37 CDT 2007


Hi,

Link to opengl32 for wglCreateContext and related functions as Windows doesn't 
expose them like our gdi32 does. Also make sure opengl32 is imported BEFORE 
gdi32.dll. The reason for this is that somehow winxp wants to load 
wglCreateContext from gdi32.dll. This happened for Stefan his mingw version, 
but I haven't had the problem on my mingw.

Regards,
Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Link-to-opengl32-for-wglCreateContext-and-related-fu.patch
Type: text/x-diff
Size: 1016 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070814/60e7fae0/0003-Link-to-opengl32-for-wglCreateContext-and-related-fu.bin


More information about the wine-patches mailing list