| Index: gpu/command_buffer/service/texture_manager.cc
|
| diff --git a/gpu/command_buffer/service/texture_manager.cc b/gpu/command_buffer/service/texture_manager.cc
|
| index b02272b86a24c7937440bbe28a2d8a531f65484b..8522da80be3306211ffca213d5b2ac572f301a30 100644
|
| --- a/gpu/command_buffer/service/texture_manager.cc
|
| +++ b/gpu/command_buffer/service/texture_manager.cc
|
| @@ -1353,6 +1353,11 @@ GLenum Texture::SetParameteri(
|
| }
|
| swizzle_a_ = param;
|
| break;
|
| + case GL_TEXTURE_SRGB_DECODE_EXT:
|
| + if (!feature_info->validators()->texture_srgb_decode_ext.IsValid(param)) {
|
| + return GL_INVALID_ENUM;
|
| + }
|
| + break;
|
| case GL_TEXTURE_IMMUTABLE_FORMAT:
|
| case GL_TEXTURE_IMMUTABLE_LEVELS:
|
| return GL_INVALID_ENUM;
|
|
|