projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
be compatible with opengl 1.1 headers (stupid MS win...)
[supertux.git]
/
src
/
main.cpp
diff --git
a/src/main.cpp
b/src/main.cpp
index
71aa862
..
6d5d911
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-311,9
+311,11
@@
static void check_gl_error()
case GL_OUT_OF_MEMORY:
errormsg = "out of memory";
break;
+#ifdef GL_TABLE_TOO_LARGE
case GL_TABLE_TOO_LARGE:
errormsg = "table too large";
break;
+#endif
default:
errormsg = "unknown error number";
break;