aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/include/GrGLConfig_chrome.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/include/GrGLConfig_chrome.h')
-rw-r--r--gpu/include/GrGLConfig_chrome.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpu/include/GrGLConfig_chrome.h b/gpu/include/GrGLConfig_chrome.h
index e61a66c606..6d5f21cea3 100644
--- a/gpu/include/GrGLConfig_chrome.h
+++ b/gpu/include/GrGLConfig_chrome.h
@@ -18,4 +18,7 @@
// chrome always assumes BGRA
#define GR_GL_32BPP_COLOR_FORMAT GR_BGRA
+// glGetError() forces a sync with gpu process on chrome
+#define GR_GL_CHECK_ERROR_START 0
+
#endif