| 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 2aa4407a930ec6ef00535bb20f4771e60fff8460..b50b52f8f4ccef45aa76f9a8c7098d64822682c5 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -10066,8 +10066,9 @@ void GLES2DecoderImpl::DoCopyTextureCHROMIUM(
|
| // The destination format should be GL_RGB, or GL_RGBA. GL_ALPHA,
|
| // GL_LUMINANCE, and GL_LUMINANCE_ALPHA are not supported because they are not
|
| // renderable on some platforms.
|
| - bool valid_dest_format =
|
| - internal_format == GL_RGB || internal_format == GL_RGBA;
|
| + bool valid_dest_format = internal_format == GL_RGB ||
|
| + internal_format == GL_RGBA ||
|
| + internal_format == GL_BGRA_EXT;
|
| bool valid_source_format = source_internal_format == GL_ALPHA ||
|
| source_internal_format == GL_RGB ||
|
| source_internal_format == GL_RGBA ||
|
|
|