| Index: gpu/command_buffer/client/gles2_implementation.cc
|
| diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
|
| index cf55bb1771ccadd6795c3fbfd6466d42270b48fc..5e55fac3104d0f9110dac91822520bfc484f7326 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation.cc
|
| +++ b/gpu/command_buffer/client/gles2_implementation.cc
|
| @@ -2466,7 +2466,7 @@ void GLES2Implementation::DeleteTexturesHelper(
|
| }
|
| for (GLsizei ii = 0; ii < n; ++ii) {
|
| for (GLint tt = 0; tt < gl_state_.max_combined_texture_image_units; ++tt) {
|
| - TextureUnit& unit = texture_units_[active_texture_unit_];
|
| + TextureUnit& unit = texture_units_[tt];
|
| if (textures[ii] == unit.bound_texture_2d) {
|
| unit.bound_texture_2d = 0;
|
| }
|
|
|