From 089f99659df7cc3185a5217a7ef3432dd814e90a Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 9 Dec 2010 17:58:44 +0000 Subject: [PATCH] Don't use GLU when compiling for GLES --- panda/src/glstuff/glGraphicsStateGuardian_src.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx index d898b6b1ea..546a6d48dc 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx +++ b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx @@ -5174,7 +5174,7 @@ report_errors_loop(int line, const char *source_file, GLenum error_code, //////////////////////////////////////////////////////////////////// string CLP(GraphicsStateGuardian):: get_error_string(GLenum error_code) { -#ifdef HAVE_GLU +#if defined(HAVE_GLU) && !defined(OPENGLES) const GLubyte *error_string = GLUP(ErrorString)(error_code); if (error_string != (const GLubyte *)NULL) { return string((const char *)error_string);