Made compiles on MacOS X a bit smoother, activated MacOS-specific code for CMake...
[supertux.git] / src / video / glutil.hpp
index b19ce8b..85200bd 100644 (file)
 
 #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)
 {