summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder.cc2
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) {