| 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..c45494d9de9246bbb2ae2c182698849e6c67977c 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -15849,7 +15849,7 @@ void GLES2DecoderImpl::DoDrawBuffersEXT(
|
| glDrawBuffersARB(count, bufs);
|
| framebuffer->SetDrawBuffers(count, bufs);
|
| } else { // backbuffer
|
| - if (count > 1 ||
|
| + if (count != 1 ||
|
| (bufs[0] != GL_BACK && bufs[0] != GL_NONE)) {
|
| LOCAL_SET_GL_ERROR(
|
| GL_INVALID_OPERATION,
|
|
|