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 6934e8bc58baacbe074b94a54cc01b6e8f939737..6408ecc54dd7162b87bc131153c94ca96e78a4b4 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -3609,7 +3609,8 @@ bool GLES2DecoderImpl::Initialize( |
if (workarounds().gl_clear_broken) { |
DCHECK(!clear_framebuffer_blit_.get()); |
LOCAL_COPY_REAL_GL_ERRORS_TO_WRAPPER("glClearWorkaroundInit"); |
- clear_framebuffer_blit_.reset(new ClearFramebufferResourceManager(this)); |
+ clear_framebuffer_blit_.reset( |
+ new ClearFramebufferResourceManager(this, gl_version_info())); |
if (LOCAL_PEEK_GL_ERROR("glClearWorkaroundInit") != GL_NO_ERROR) |
return false; |
} |