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

Unified Diff: ui/gl/gl_context_osmesa.cc

Issue 2629633003: Refactor GL bindings so there is no global GLApi or DriverGL. (Closed)
Patch Set: rebase Created 3 years, 11 months 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 | « ui/gl/gl_context_glx.cc ('k') | ui/gl/gl_context_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_osmesa.cc
diff --git a/ui/gl/gl_context_osmesa.cc b/ui/gl/gl_context_osmesa.cc
index f63cbce92400effa3dfc856ef0444436f94f7a3a..b531eeb239eef15dbfe1efd2f37adc137ff4502a 100644
--- a/ui/gl/gl_context_osmesa.cc
+++ b/ui/gl/gl_context_osmesa.cc
@@ -82,7 +82,7 @@ bool GLContextOSMesa::MakeCurrent(GLSurface* surface) {
is_released_ = false;
// Set this as soon as the context is current, since we might call into GL.
- SetRealGLApi();
+ BindGLApi();
// Row 0 is at the top.
OSMesaPixelStore(OSMESA_Y_UP, 0);
« no previous file with comments | « ui/gl/gl_context_glx.cc ('k') | ui/gl/gl_context_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698