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 388ebdbb8e22766a031cbbfdcdef552a6db9c7b4..216c3768e12a7b4ca7214682a9c57dd27e8056d1 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -4522,7 +4522,7 @@ void GLES2DecoderImpl::DoDisableVertexAttribArray(GLuint index) { |
void GLES2DecoderImpl::DoDiscardFramebufferEXT(GLenum target, |
GLsizei numAttachments, |
const GLenum* attachments) { |
- if (workarounds().disable_fbo_invalidations) |
+ if (workarounds().disable_discard_framebuffer) |
return; |
Framebuffer* framebuffer = |