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 670782ecb6243bb97252cfe4918b8eb3cc585274..379dcd54eefedb1704dce5a02323387f536ab501 100644 |
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
| @@ -7146,6 +7146,11 @@ GLenum GLES2DecoderImpl::DoCheckFramebufferStatus(GLenum target) { |
| if (completeness != GL_FRAMEBUFFER_COMPLETE) { |
| return completeness; |
| } |
| + |
| + if (framebuffer->HasDuplicateColorAttachments()) { |
|
Zhenyao Mo
2016/07/19 20:39:15
This should go inside Framebuffer::IsPossiblyCompl
qiankun
2016/07/20 08:53:33
Done.
|
| + return GL_FRAMEBUFFER_UNSUPPORTED; |
| + } |
| + |
| return framebuffer->GetStatus(texture_manager(), target); |
| } |