Parcourir la source

report_errors_loop() needs to return a value

Joseph Lee il y a 22 ans
Parent
commit
69ffcae6ff
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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++;
     error_count++;
   }
   }
 
 
-  return (error_code == GL_NO_ERROR);
 #endif
 #endif
+  return (error_code == GL_NO_ERROR);
 }
 }
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////