summaryrefslogtreecommitdiffstats
path: root/gpu/demos/framework/window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/demos/framework/window.cc')
-rw-r--r--gpu/demos/framework/window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/demos/framework/window.cc b/gpu/demos/framework/window.cc
index fce2a08..092dc1d 100644
--- a/gpu/demos/framework/window.cc
+++ b/gpu/demos/framework/window.cc
@@ -69,7 +69,7 @@ bool Window::CreateRenderContext(gfx::PluginWindowHandle hwnd) {
NewCallback(gpu_processor, &GPUProcessor::ProcessCommands));
GLES2CmdHelper* helper = new GLES2CmdHelper(command_buffer.get());
- if (!helper->Initialize()) {
+ if (!helper->Initialize(kCommandBufferSize)) {
// TODO(alokp): cleanup.
return false;
}