| Index: gpu/command_buffer/common/gles2_cmd_utils.cc
|
| diff --git a/gpu/command_buffer/common/gles2_cmd_utils.cc b/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| index 736e6738ceaee590eac117693b7b7bd50c36757c..574972135d239f10c0b0e336dc2ba19e7e572b46 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| +++ b/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| @@ -493,6 +493,8 @@ uint32 GLES2Util::GetGLDataTypeSizeForUniforms(int type) {
|
| return sizeof(GLfloat) * 4 * 4; // NOLINT
|
| case GL_SAMPLER_2D:
|
| return sizeof(GLint); // NOLINT
|
| + case GL_SAMPLER_2D_RECT_ARB:
|
| + return sizeof(GLint); // NOLINT
|
| case GL_SAMPLER_CUBE:
|
| return sizeof(GLint); // NOLINT
|
| case GL_SAMPLER_EXTERNAL_OES:
|
|
|