projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- added check for 'region' symbol
[supertux.git]
/
src
/
video
/
glutil.hpp
diff --git
a/src/video/glutil.hpp
b/src/video/glutil.hpp
index
0ccb630
..
90dd525
100644
(file)
--- a/
src/video/glutil.hpp
+++ b/
src/video/glutil.hpp
@@
-56,13
+56,15
@@
static inline void check_gl_error(const char* message)
case GL_TABLE_TOO_LARGE:
msg << "TABLE_TOO_LARGE: table is too large";
break;
-#endif
+#endif
default:
msg << "Unknown error (code " << error << ")";
}
-
+
throw std::runtime_error(msg.str());
}
+#else
+ (void) message;
#endif
}