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.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpu/demos/framework/window.cc b/gpu/demos/framework/window.cc
index efae079..8474d92 100644
--- a/gpu/demos/framework/window.cc
+++ b/gpu/demos/framework/window.cc
@@ -73,7 +73,8 @@ bool Window::CreateRenderContext(gfx::PluginWindowHandle hwnd) {
if (!surface_.get())
return false;
- context_ = gfx::GLContext::CreateGLContext(NULL, surface_.get());
+ context_ = gfx::GLContext::CreateGLContext(
+ NULL, surface_.get(), gfx::PreferDiscreteGpu);
if (!context_.get())
return false;