diff options
Diffstat (limited to 'gpu/command_buffer/client/gles2_demo.cc')
-rw-r--r-- | gpu/command_buffer/client/gles2_demo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/client/gles2_demo.cc b/gpu/command_buffer/client/gles2_demo.cc index b2a0497..365cf53 100644 --- a/gpu/command_buffer/client/gles2_demo.cc +++ b/gpu/command_buffer/client/gles2_demo.cc @@ -66,7 +66,7 @@ bool GLES2Demo::Setup(void* hwnd, int32 size) { NewCallback(gpu_processor, &GPUProcessor::ProcessCommands)); GLES2CmdHelper* helper = new GLES2CmdHelper(command_buffer.get()); - if (!helper->Initialize()) { + if (!helper->Initialize(size)) { // TODO(gman): cleanup. return false; } |