commit | aaaf93a38a837fb24bdebeb4d30ca4d665383903 | [log] [tgz] |
---|---|---|
author | Nicolas Capens <capn@google.com> | Tue Oct 09 15:56:12 2018 -0400 |
committer | Nicolas Capens <nicolascapens@google.com> | Tue Oct 09 21:28:17 2018 +0000 |
tree | 8498da955d45c6ddfc90bd4281a019fa9fc73b83 | |
parent | 3b5e426b815f75e71d1bcf74b66b9fb0f6830f44 [diff] |
Disable accidentally enabled OpenGL logging. This reverts part of https://swiftshader-review.googlesource.com/21108 Bug b/73656151 Change-Id: I35c91cb5b28ede65eadebcb5e8141be4cf3f2e0e Reviewed-on: https://swiftshader-review.googlesource.com/c/21368 Tested-by: Nicolas Capens <nicolascapens@google.com> Reviewed-by: Shannon Woods <shannonwoods@google.com>
diff --git a/src/OpenGL/common/debug.cpp b/src/OpenGL/common/debug.cpp index 8881076..87f7ee2 100644 --- a/src/OpenGL/common/debug.cpp +++ b/src/OpenGL/common/debug.cpp
@@ -40,7 +40,7 @@ #else static void output(const char *format, va_list vararg) { - if(true) + if(false) { static FILE* file = nullptr; if(!file) @@ -51,7 +51,7 @@ if(file) { vfprintf(file, format, vararg); - fflush(file); + // fflush(file); } } }