瀏覽代碼

report_errors_loop() needs to return a value

Joseph Lee 22 年之前
父節點
當前提交
69ffcae6ff
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
 }
 
 ////////////////////////////////////////////////////////////////////