doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
macosx_glimp.h
Go to the documentation of this file.
1 #include <OpenGL/OpenGL.h>
2 #include <OpenGL/gl.h>
3 #include <OpenGL/glu.h>
4 #ifndef GL_EXT_abgr
5 #include <OpenGL/glext.h>
6 #endif
7 
8 // This can be defined to use the CGLMacro.h support which avoids looking up
9 // the current context.
10 //#define USE_CGLMACROS
11 
12 #ifdef USE_CGLMACROS
13 #include "macosx_local.h"
14 #define cgl_ctx glw_state._cgl_ctx
15 #include <OpenGL/CGLMacro.h>
16 #endif
17