| 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 9c10bb4da96ea09bf51a8ab47e622f27943f5615..ea0bd7387487462c7ef9b953fcb2bffd739491d8 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| +++ b/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| @@ -497,6 +497,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:
|
|
|