wgl prototypes missing from wingdi.h

Tom Schutter tom at platte.com
Wed Jul 14 13:34:57 CDT 2004

Lionel Ulmer wrote:
> On Wed, Jul 14, 2004 at 09:53:17AM -0600, Tom Schutter wrote:
>>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
> Yes, this is a known problem in Winelib right now (and we never got any bug
> report about it, so I never actually fixed it).

Uhhh.  So should I file a bug report?

>>These prototypes exist in wgl.h, but that is not installed using "make
>>install", nor is that where apps would expect them.
> Yeah, "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').

I don't see where the conflict is.  I thought that wgl was Windows only. 
  What Linux headers will define prototypes that appear in wgl.h?

Tom Schutter (mailto:tom at platte.com)
Platte River Associates, Inc. (http://www.platte.com)

More information about the wine-devel mailing list