diff options
-rw-r--r-- | src/render/gl.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/render/gl.h b/src/render/gl.h index 222ee0e..bdb6dab 100644 --- a/src/render/gl.h +++ b/src/render/gl.h @@ -9,13 +9,7 @@ #include "sys/sys.h" -#ifdef _OSX -#include "OpenGL/gl.h" -#include "OpenGL/glu.h" -#else -#include "GL/gl.h" -#include "GL/glu.h" -#endif +#include "SDL/SDL_opengl.h" #include "math/vector2f.h" #include "math/vector3f.h" @@ -45,6 +39,14 @@ #define GL_CLAMP_TO_EDGE 0x812F #endif +#ifndef GL_ARRAY_BUFFER +#define GL_ARRAY_BUFFER 0x8892 +#endif + +#ifndef GL_STATIC_DRAW +#define GL_STATIC_DRAW 0x88E4 +#endif + #endif // _WIN32 /// wrapper namespace for OpenGL operations |