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 097a82a03708f61b7a089c18d00d1bd3dfd3d56c..39e730b2847590e9b3f99a29adb2e2325a75044d 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -13176,7 +13176,7 @@ bool GLES2DecoderImpl::ValidateCopyTextureCHROMIUMInternalFormats( |
dest_internal_format == GL_RGBA || |
dest_internal_format == GL_BGRA_EXT; |
bool valid_source_format = |
- source_internal_format == GL_R8 || source_internal_format == GL_ALPHA || |
+ source_internal_format == GL_RED || source_internal_format == GL_ALPHA || |
source_internal_format == GL_RGB || source_internal_format == GL_RGBA || |
source_internal_format == GL_LUMINANCE || |
source_internal_format == GL_LUMINANCE_ALPHA || |