X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fvideo%2Fglutil.hpp;h=6c2122fe0400e6f9d2837008b923b0e95f39cbde;hb=a113d3bd1feddd510e3b2852b0d42522735eee40;hp=0ccb63006bf66e9cd2ac4a09026465e596075787;hpb=ff4c6994b952e26b854461d739eb3bcbfc30719f;p=supertux.git diff --git a/src/video/glutil.hpp b/src/video/glutil.hpp index 0ccb63006..6c2122fe0 100644 --- a/src/video/glutil.hpp +++ b/src/video/glutil.hpp @@ -56,11 +56,11 @@ 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()); } #endif