From 16b61d7c4c01a418bcc10c49f79a6c8acf18117e Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 13 Apr 2006 15:31:33 +0000 Subject: [PATCH] be compatible with opengl 1.1 headers (stupid MS win...) SVN-Revision: 3328 --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.11.0