Index: gpu/command_buffer/service/texture_manager.cc |
diff --git a/gpu/command_buffer/service/texture_manager.cc b/gpu/command_buffer/service/texture_manager.cc |
index a0a60c130983f9df9d53b1570312cdf003fa4991..38516e7d49a7887c5685917a36fb585463ad9d1b 100644 |
--- a/gpu/command_buffer/service/texture_manager.cc |
+++ b/gpu/command_buffer/service/texture_manager.cc |
@@ -780,8 +780,8 @@ bool Texture::ClearLevel( |
// but only the decoder knows all the state (like unpack_alignment_) that's |
// needed to be able to call GL correctly. |
bool cleared = decoder->ClearLevel( |
- service_id_, target_, info.target, info.level, info.format, info.type, |
- info.width, info.height, immutable_); |
+ service_id_, target_, info.target, info.level, info.internal_format, |
+ info.format, info.type, info.width, info.height, immutable_); |
UpdateMipCleared(&info, cleared); |
return info.cleared; |
} |