diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-03 23:40:19 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-03 23:40:19 +0000 |
commit | c12cfc336a84875997258a5425c077e4726ca2a5 (patch) | |
tree | 26ef6ab297c7404bd7aad4d364352b6961753814 /gpu/command_buffer | |
parent | dda1abbfdce930e97a17d5531dec94a8086b7279 (diff) | |
download | chromium_src-c12cfc336a84875997258a5425c077e4726ca2a5.zip chromium_src-c12cfc336a84875997258a5425c077e4726ca2a5.tar.gz chromium_src-c12cfc336a84875997258a5425c077e4726ca2a5.tar.bz2 |
Fix readpixels issue
will check in tests when machine is working again
TBR=kbr@chromium.org
TEST=none
BUG=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46297 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer')
-rw-r--r-- | gpu/command_buffer/client/gles2_implementation.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc index 551e361..6b2efad 100644 --- a/gpu/command_buffer/client/gles2_implementation.cc +++ b/gpu/command_buffer/client/gles2_implementation.cc @@ -1259,7 +1259,7 @@ void GLES2Implementation::ReadPixels( } transfer_buffer_.FreePendingToken(buffer, helper_->InsertToken()); // If it was not marked as successful exit. - if (*result != 0) { + if (*result == 0) { return; } yoffset += num_rows; |