projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace some of the glBegin,glEnd calls with glDrawArrays
[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>
#include <sstream>
#include <stdexcept>
+
+#ifndef MACOSX
#include <GL/gl.h>
#include <GL/glext.h>
#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)
{
static inline void check_gl_error(const char* message)
{