| 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 fdc0727ba1db87352cf5fa39661f25904adcb54f..ab0f104f27d67298dcfe57ccccb1a76385977807 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation.cc
|
| +++ b/gpu/command_buffer/client/gles2_implementation.cc
|
| @@ -2549,6 +2549,7 @@ void GLES2Implementation::TexImage2D(
|
| uint32_t padded_row_size;
|
| uint32_t skip_size;
|
| PixelStoreParams params = GetUnpackParameters(k2D);
|
| +
|
| if (!GLES2Util::ComputeImageDataSizesES3(width, height, 1,
|
| format, type,
|
| params,
|
|
|