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 a3ad42338965a9e9f7e5c85fb6e133d83079545d..b0442e124dfb08cc5c14824c9e725b969e75e099 100644 |
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
| @@ -5114,7 +5114,9 @@ bool GLES2DecoderImpl::GetHelper( |
| return true; |
| } |
| *params = GLES2Util::GetGLReadPixelsImplementationFormat( |
| - GetBoundReadFrameBufferInternalFormat()); |
| + GetBoundReadFrameBufferInternalFormat(), |
| + GetBoundReadFrameBufferTextureType(), |
| + feature_info_->feature_flags().ext_read_format_bgra); |
|
no sievers
2016/03/08 00:26:28
Don't we strictly speaking also have to check whet
no sievers
2016/03/08 00:28:44
And also note that checking the internal format is
piman
2016/03/08 00:48:07
On desktop GL, the format/type is orthogonal to th
|
| } |
| return true; |
| case GL_IMPLEMENTATION_COLOR_READ_TYPE: |