WineD3D: link against opengl32 for wgl functions

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


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.

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 :

More information about the wine-patches mailing list