From 69ffcae6ff20adcfb25e84b11bd3ad8373f39a07 Mon Sep 17 00:00:00 2001 From: Joseph Lee Date: Wed, 3 Mar 2004 03:59:37 +0000 Subject: [PATCH] report_errors_loop() needs to return a value --- 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 9f8e277fef..b3719e40fc 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx +++ b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx @@ -2649,8 +2649,8 @@ report_errors_loop(int line, const char *source_file, GLenum error_code, error_count++; } - return (error_code == GL_NO_ERROR); #endif + return (error_code == GL_NO_ERROR); } ////////////////////////////////////////////////////////////////////