Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1243)

Unified Diff: ui/ozone/demo/gl_renderer.cc

Issue 2500863002: Ozone Linux: Fix build error in ui/ozone/demo/gl_renderer.cc (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/demo/gl_renderer.cc
diff --git a/ui/ozone/demo/gl_renderer.cc b/ui/ozone/demo/gl_renderer.cc
index 3921a09003c894be34456287eb199a1a1d9909ca..970a299bb50bae51a7d03ebeea647f0521711e03 100644
--- a/ui/ozone/demo/gl_renderer.cc
+++ b/ui/ozone/demo/gl_renderer.cc
@@ -24,7 +24,7 @@ GlRenderer::~GlRenderer() {
bool GlRenderer::Initialize() {
context_ = gl::init::CreateGLContext(nullptr, surface_.get(),
- gl::PreferIntegratedGpu);
+ gl::GLContextAttribs());
if (!context_.get()) {
LOG(ERROR) << "Failed to create GL context";
return false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698