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); } ////////////////////////////////////////////////////////////////////