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

Unified Diff: ui/gl/init/gl_factory_android.cc

Issue 2273483004: Call 'InitializeDynamicBindings()' before gl calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SetRealGLApi() before SetCurrent() Created 4 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/init/gl_factory_android.cc
diff --git a/ui/gl/init/gl_factory_android.cc b/ui/gl/init/gl_factory_android.cc
index 3dd167fcdc12e5218275852ce2b0d9004d612c2d..739684693278773940a04d4a09e44bbed2f920b8 100644
--- a/ui/gl/init/gl_factory_android.cc
+++ b/ui/gl/init/gl_factory_android.cc
@@ -60,8 +60,9 @@ bool GLNonOwnedContext::Initialize(GLSurface* compatible_surface,
}
bool GLNonOwnedContext::MakeCurrent(GLSurface* surface) {
- SetCurrent(surface);
SetRealGLApi();
+ SetCurrent(surface);
+ InitializeDynamicBindings();
return true;
}
« 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