| 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 817efc124367008ba1f9efdd241d5a69f192076d..74ccfecf44df16dff15e0dc92924df4e132eb9a5 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| +++ b/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| @@ -428,6 +428,14 @@ int GLES2Util::GLGetNumValuesReturned(int id) const {
|
| return 1;
|
| case GL_TEXTURE_MAX_ANISOTROPY_EXT:
|
| return 1;
|
| + case GL_TEXTURE_SWIZZLE_R:
|
| + return 1;
|
| + case GL_TEXTURE_SWIZZLE_G:
|
| + return 1;
|
| + case GL_TEXTURE_SWIZZLE_B:
|
| + return 1;
|
| + case GL_TEXTURE_SWIZZLE_A:
|
| + return 1;
|
|
|
| // -- glGetVertexAttrib
|
| case GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING:
|
| @@ -1951,4 +1959,3 @@ bool ContextCreationAttribHelper::Parse(const std::vector<int32_t>& attribs) {
|
|
|
| } // namespace gles2
|
| } // namespace gpu
|
| -
|
|
|