1 /* Wrapper for OpenGL includes...
2 Copyright 1998 - Lionel Ulmer
4 This wrapper is needed because Mesa uses also the CALLBACK / WINAPI
7 #ifndef __WINE_WINE_GL_H
8 #define __WINE_WINE_GL_H
12 #if defined(HAVE_OPENGL)
17 /* As GLX relies on X, this is needed */
18 #define ENTER_GL() wine_tsx11_lock()
19 #define LEAVE_GL() wine_tsx11_unlock()
25 #define XMD_H /* This is to prevent the Xmd.h inclusion bug to happen :-/ */
28 #ifdef HAVE_GL_GLEXT_H
29 # include <GL/glext.h>
37 /* Redefines the constants */
38 #define CALLBACK __stdcall
39 #define WINAPI __stdcall
40 #define APIENTRY WINAPI
42 #endif /* HAVE_OPENGL */
44 #endif /* __WINE_WINE_GL_H */