]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/sys/osx/macosx_glimp.h
hello world
[icculus/iodoom3.git] / neo / sys / osx / macosx_glimp.h
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