From: Matthias Braun Date: Thu, 13 Apr 2006 15:31:33 +0000 (+0000) Subject: be compatible with opengl 1.1 headers (stupid MS win...) X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=16b61d7c4c01a418bcc10c49f79a6c8acf18117e;p=supertux.git be compatible with opengl 1.1 headers (stupid MS win...) SVN-Revision: 3328 --- diff --git a/src/main.cpp b/src/main.cpp index 71aa8621a..6d5d9115b 100644 --- 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;