macosx_glimp.h 373 B

123456789101112131415161718
  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. // This can be defined to use the CGLMacro.h support which avoids looking up
  8. // the current context.
  9. //#define USE_CGLMACROS
  10. #ifdef USE_CGLMACROS
  11. #include "macosx_local.h"
  12. #define cgl_ctx glw_state._cgl_ctx
  13. #include <OpenGL/CGLMacro.h>
  14. #endif