Chromium Code Reviews| Index: gpu/demos/framework/window.cc |
| =================================================================== |
| --- gpu/demos/framework/window.cc (revision 105357) |
| +++ gpu/demos/framework/window.cc (working copy) |
| @@ -73,7 +73,8 @@ |
| 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; |