| 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 0f8d67b6033f89d206d7d57d36f38dfab936a361..ca58967ade9a4f26a505fd9f24eb595488c74a94 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| +++ b/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| @@ -194,6 +194,8 @@ int GLES2Util::GLGetNumValuesReturned(int id) const {
|
| return 1;
|
| case GL_TEXTURE_BINDING_CUBE_MAP:
|
| return 1;
|
| + case GL_TEXTURE_BINDING_EXTERNAL_OES:
|
| + return 1;
|
| case GL_UNPACK_ALIGNMENT:
|
| return 1;
|
| case GL_VIEWPORT:
|
| @@ -433,6 +435,8 @@ uint32 GLES2Util::GetGLDataTypeSizeForUniforms(int type) {
|
| return sizeof(GLint); // NOLINT
|
| case GL_SAMPLER_CUBE:
|
| return sizeof(GLint); // NOLINT
|
| + case GL_SAMPLER_EXTERNAL_OES:
|
| + return sizeof(GLint); // NOLINT
|
| default:
|
| return 0;
|
| }
|
|
|