summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-19 22:01:54 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-19 22:01:54 +0000
commit9842933beaf6b8e052cfa7042f3ec3ae8b924aa5 (patch)
tree2cb39f5735ab12a3f3cf47e17c7adb1c83a05e14 /gpu/command_buffer/client
parentcc9383dc17bf6501cebc917962e22750adfc06e7 (diff)
downloadchromium_src-9842933beaf6b8e052cfa7042f3ec3ae8b924aa5.zip
chromium_src-9842933beaf6b8e052cfa7042f3ec3ae8b924aa5.tar.gz
chromium_src-9842933beaf6b8e052cfa7042f3ec3ae8b924aa5.tar.bz2
Fix to allow the gles2 conformance tests to run
TEST=ran the conformance tests BUG=none Review URL: http://codereview.chromium.org/6282008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71849 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/client')
-rw-r--r--gpu/command_buffer/client/gles2_c_lib.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/client/gles2_c_lib.cc b/gpu/command_buffer/client/gles2_c_lib.cc
index f53067e..cf0a0b5 100644
--- a/gpu/command_buffer/client/gles2_c_lib.cc
+++ b/gpu/command_buffer/client/gles2_c_lib.cc
@@ -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)