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

Unified Diff: ui/gl/gl_context_wgl.cc

Issue 2629633003: Refactor GL bindings so there is no global GLApi or DriverGL. (Closed)
Patch Set: 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
Index: ui/gl/gl_context_wgl.cc
diff --git a/ui/gl/gl_context_wgl.cc b/ui/gl/gl_context_wgl.cc
index 64b48b872536c30c3ed0948f7825c1871e3a5dd0..726fcb6249671e6bca67621dead3d0204b592803 100644
--- a/ui/gl/gl_context_wgl.cc
+++ b/ui/gl/gl_context_wgl.cc
@@ -105,7 +105,7 @@ bool GLContextWGL::MakeCurrent(GLSurface* surface) {
}
// Set this as soon as the context is current, since we might call into GL.
- SetRealGLApi();
+ BindGLApi();
SetCurrent(surface);
InitializeDynamicBindings();

Powered by Google App Engine
This is Rietveld 408576698