http://bugs.winehq.org/show_bug.cgi?id=2360
Summary: missing wgl function prototypes Product: Wine Version: unspecified Platform: All OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-winelib AssignedTo: wine-bugs@winehq.org ReportedBy: tom@platte.com
It appears that although support for binary apps using OpenGL exists in wine, you cannot compile a Windows OpenGL app using winelib, because none of the wgl prototypes exist in wingdi.h
These prototypes exist in wgl.h, but that is not installed using "make install", nor is that where apps would expect them.
"wgl.h" should be installed as other includes (ie move it from dlls/opengl32/wgl.h to include/wgl.h). But we will have another problem later on as using the Linux GL headers is problematic (as the Linux headers define the prototypes as 'cdecl' and Wine's implementation is 'stdcall').