aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/src
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-02-17 21:47:25 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-02-17 21:47:25 +0000
commit3723a484af0ccc687708588762d98501f35df7da (patch)
tree6cb3b8c1b7729d96275fb7bf34c4bfdf32f0f20c /gpu/src
parent57c2b1de2315349ec2c70ba21fba0272351a1496 (diff)
Clean up geterror / log macros and globals for debugging. disable geterror in chrome by default.
Review URL: http://codereview.appspot.com/4170058/ git-svn-id: http://skia.googlecode.com/svn/trunk@810 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/src')
-rw-r--r--gpu/src/GrGLUtil.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gpu/src/GrGLUtil.cpp b/gpu/src/GrGLUtil.cpp
index a8f06bacd3..f531a6b419 100644
--- a/gpu/src/GrGLUtil.cpp
+++ b/gpu/src/GrGLUtil.cpp
@@ -250,7 +250,6 @@ void GrGLCheckErr(const char* location, const char* call) {
///////////////////////////////////////////////////////////////////////////////
-bool gPrintGL = true;
-
-
+bool gLogCallsGL = !!(GR_GL_LOG_CALLS_START);
+bool gCheckErrorGL = !!(GR_GL_CHECK_ERROR_START);