be compatible with opengl 1.1 headers (stupid MS win...)
authorMatthias Braun <matze@braunis.de>
Thu, 13 Apr 2006 15:31:33 +0000 (15:31 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 13 Apr 2006 15:31:33 +0000 (15:31 +0000)
SVN-Revision: 3328

src/main.cpp

index 71aa862..6d5d911 100644 (file)
@@ -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;