diff options
Diffstat (limited to 'gpu/demos/framework/window.cc')
-rw-r--r-- | gpu/demos/framework/window.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gpu/demos/framework/window.cc b/gpu/demos/framework/window.cc index 1421aae..42335c8 100644 --- a/gpu/demos/framework/window.cc +++ b/gpu/demos/framework/window.cc @@ -79,7 +79,9 @@ bool Window::CreateRenderContext(gfx::AcceleratedWidget hwnd) { return false; } - gpu::gles2::ContextGroup::Ref group(new gpu::gles2::ContextGroup(NULL, true)); + gpu::gles2::ContextGroup::Ref group(new gpu::gles2::ContextGroup(NULL, + NULL, + true)); decoder_.reset(gpu::gles2::GLES2Decoder::Create(group.get())); if (!decoder_.get()) |