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 8885e01aa7e9d2f52538531f0dbbfde5600bdf38..09d4a605f4155a1250ece819059c94cc8cb14f53 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -4521,7 +4521,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 = |