Small patch.
[wine/multimedia.git] / include / wine_gl.h
blob3fc7c9c9a09676b2eadf336580f3db536c745736
1 /* Wrapper for OpenGL includes...
2 Copyright 1998 - Lionel Ulmer
4 This wrapper is needed because Mesa uses also the CALLBACK / WINAPI
5 constants. */
7 #ifndef __WINE_GL_H
8 #define __WINE_GL_H
10 #ifdef HAVE_MESAGL
12 #undef APIENTRY
13 #undef CALLBACK
14 #undef WINAPI
16 #include <GL/gl.h>
17 /* These will need to have some #ifdef / #endif added to support
18 more than the X11 using OSMesa target */
19 #include <GL/osmesa.h>
21 #undef APIENTRY
22 #undef CALLBACK
23 #undef WINAPI
25 /* Redefines the constants */
26 #define CALLBACK __stdcall
27 #define WINAPI __stdcall
28 #define APIENTRY WINAPI
30 #endif /* HAVE_MESAGL */
32 #endif /* __WINE_GL_H */