Chromium Code Reviews| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
| index 146791ccd59551da9e795c7aec485cd95f1a825b..6165f0bfc01810488d24d95cdefd13dc05ad1f66 100644 |
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
| @@ -13158,7 +13158,7 @@ bool GLES2DecoderImpl::ValidateCopyTextureCHROMIUMInternalFormats( |
| dest_internal_format == GL_RGBA || |
| dest_internal_format == GL_BGRA_EXT; |
| bool valid_source_format = |
| - source_internal_format == GL_RED || source_internal_format == GL_ALPHA || |
| + source_internal_format == GL_R8 || source_internal_format == GL_ALPHA || |
|
Zhenyao Mo
2016/02/22 22:53:08
Please also keep GL_RED
Daniele Castagna
2016/02/22 23:16:33
Done.
|
| source_internal_format == GL_RGB || source_internal_format == GL_RGBA || |
| source_internal_format == GL_LUMINANCE || |
| source_internal_format == GL_LUMINANCE_ALPHA || |