Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
index 4b91c424cf3e7d477dfb36404b238f138c2264b0..502aa11e897777079e69d2c90b3596eec0df1d3f 100644 |
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
@@ -350,6 +350,8 @@ bool WebGraphicsContext3DCommandBufferImpl::InitializeCommandBuffer( |
attribs.push_back(attributes_.antialias ? 1 : 0); |
attribs.push_back(FAIL_IF_MAJOR_PERF_CAVEAT); |
attribs.push_back(attributes_.failIfMajorPerformanceCaveat ? 1 : 0); |
+ attribs.push_back(BIND_GENERATES_RESOURCES); |
+ attribs.push_back(bind_generates_resources_ ? 1 : 0); |
attribs.push_back(NONE); |
// Create a proxy to a command buffer in the GPU process. |