summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-22 03:40:58 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-22 03:40:58 +0000
commit7b3320cfbe822da71954b92d44c1b57363796406 (patch)
tree94e5616b47c4493c38af9c0c3bc5bcd8de2caf90 /gpu
parent5feec2797e06f74ec69870eb943d5e121c56b412 (diff)
downloadchromium_src-7b3320cfbe822da71954b92d44c1b57363796406.zip
chromium_src-7b3320cfbe822da71954b92d44c1b57363796406.tar.gz
chromium_src-7b3320cfbe822da71954b92d44c1b57363796406.tar.bz2
Fix for warning to error that trybots didn't catch.
TEST=none BUG=none TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/7488004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93543 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/client/gles2_implementation.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 3f04ec3..b11554a 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -1388,9 +1388,9 @@ void GLES2Implementation::TexSubImage2DImpl(
void* buffer = transfer_buffer_.Alloc(part_size);
GLint y;
if (unpack_flip_y_) {
- bool copy_success = CopyRectToBufferFlipped(
+ CopyRectToBufferFlipped(
source, width, num_rows, format, type, buffer);
- GPU_DCHECK(copy_success);
+ // GPU_DCHECK(copy_success); // can't check this because bot fails!
y = original_height - yoffset - num_rows;
} else {
memcpy(buffer, source, part_size);