mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-30 16:11:11 +00:00
17 lines
373 B
C
17 lines
373 B
C
#include <OpenGL/OpenGL.h>
|
|
#include <OpenGL/gl.h>
|
|
#include <OpenGL/glu.h>
|
|
#ifndef GL_EXT_abgr
|
|
#include <OpenGL/glext.h>
|
|
#endif
|
|
|
|
// This can be defined to use the CGLMacro.h support which avoids looking up
|
|
// the current context.
|
|
//#define USE_CGLMACROS
|
|
|
|
#ifdef USE_CGLMACROS
|
|
#include "macosx_local.h"
|
|
#define cgl_ctx glw_state._cgl_ctx
|
|
#include <OpenGL/CGLMacro.h>
|
|
#endif
|
|
|