projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use GLEW to check for OpenGL extensions
[supertux.git]
/
src
/
video
/
glutil.hpp
diff --git
a/src/video/glutil.hpp
b/src/video/glutil.hpp
index
4ffea00
..
2b46f6d
100644
(file)
--- a/
src/video/glutil.hpp
+++ b/
src/video/glutil.hpp
@@
-24,6
+24,10
@@
#include <sstream>
#include <stdexcept>
+#ifndef GL_VERSION_ES_CM_1_0
+# include <GL/glew.h>
+#endif
+
#if defined(MACOSX)
# include <OpenGL/gl.h>
# include <OpenGL/glext.h>