diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-11 01:06:10 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-11 01:06:10 +0000 |
commit | 556251f79b12e0856f4210a3707dccf772fd578f (patch) | |
tree | 03afdeb23002abb3ed3a2deb09c3afca5cdc3341 /gpu | |
parent | ccdd33a705a2b4988513b4585878fef67334c8b8 (diff) | |
download | chromium_src-556251f79b12e0856f4210a3707dccf772fd578f.zip chromium_src-556251f79b12e0856f4210a3707dccf772fd578f.tar.gz chromium_src-556251f79b12e0856f4210a3707dccf772fd578f.tar.bz2 |
DeleteTexturesHelper uses wrong index for texture_units_.
Review URL: https://chromiumcodereview.appspot.com/11090060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161248 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc index 69df928..f5d455c 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc @@ -2634,7 +2634,7 @@ void GLES2DecoderImpl::DeleteTexturesHelper( } // Unbind texture from texture units. for (size_t jj = 0; jj < group_->max_texture_units(); ++jj) { - texture_units_[ii].Unbind(texture); + texture_units_[jj].Unbind(texture); } // Unbind from current framebuffers. if (supports_separate_framebuffer_binds) { |