- better support for ExecuteBuffers
[wine] / include / wine_gl.h
1 /* Wrapper for OpenGL includes...
2      Copyright 1998 - Lionel Ulmer
3
4    This wrapper is needed because Mesa uses also the CALLBACK / WINAPI
5    constants. */
6
7 #ifndef __WINE_GL_H
8 #define __WINE_GL_H
9
10 #ifdef HAVE_MESAGL
11
12 #undef APIENTRY
13 #undef CALLBACK
14 #undef WINAPI
15
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>
20
21 #undef APIENTRY
22 #undef CALLBACK
23 #undef WINAPI
24
25 /* Redefines the constants */
26 #define CALLBACK    __stdcall
27 #define WINAPI      __stdcall
28 #define APIENTRY    WINAPI
29
30 #endif /* HAVE_MESAGL */
31
32 #endif /* __WINE_GL_H */