Browse Source

report_errors_loop() needs to return a value

Joseph Lee 22 years ago
parent
commit
69ffcae6ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/glstuff/glGraphicsStateGuardian_src.cxx

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