projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made compiles on MacOS X a bit smoother, activated MacOS-specific code for CMake...
[supertux.git]
/
src
/
video
/
glutil.hpp
diff --git
a/src/video/glutil.hpp
b/src/video/glutil.hpp
index
b19ce8b
..
85200bd
100644
(file)
--- a/
src/video/glutil.hpp
+++ b/
src/video/glutil.hpp
@@
-25,8
+25,14
@@
#include <sstream>
#include <stdexcept>
+
+#ifndef MACOSX
#include <GL/gl.h>
#include <GL/glext.h>
+#else
+#include <OpenGL/gl.h>
+#include <OpenGL/glext.h>
+#endif
static inline void check_gl_error(const char* message)
{