Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: gpu/command_buffer/client/gles2_c_lib.cc

Issue 6282008: Fix to allow the gles2 conformance tests to run... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gpu/gpu.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_c_lib.cc
===================================================================
--- gpu/command_buffer/client/gles2_c_lib.cc (revision 71466)
+++ gpu/command_buffer/client/gles2_c_lib.cc (working copy)
@@ -20,7 +20,7 @@
//
// If it was up to us we'd just always write to the destination but the OpenGL
// spec defines the behavior of OpenGL function, not us. :-(
-#if defined(__native_client__)
+#if defined(__native_client__) || defined(GLES2_CONFORMANCE_TESTS)
#define GL_CLIENT_VALIDATE_DESTINATION_INITALIZATION_ASSERT(v)
#elif defined(GPU_DCHECK)
#define GL_CLIENT_VALIDATE_DESTINATION_INITALIZATION_ASSERT(v) GPU_DCHECK(v)
« no previous file with comments | « no previous file | gpu/gpu.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698