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

Unified Diff: ui/gl/gl_implementation_win.cc

Issue 1151093006: Added disabling EGL extensions support with --disable-extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed some strange formatting Created 5 years, 7 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_implementation_win.cc
diff --git a/ui/gl/gl_implementation_win.cc b/ui/gl/gl_implementation_win.cc
index 40cbdde91319156e7ae91e42f19ffc51520d17e8..8b9d64f729b40ebc8ed27f1913e01bd51b0cb643 100644
--- a/ui/gl/gl_implementation_win.cc
+++ b/ui/gl/gl_implementation_win.cc
@@ -297,8 +297,10 @@ bool InitializeStaticGLBindings(GLImplementation implementation) {
bool InitializeDynamicGLBindings(GLImplementation implementation,
GLContext* context) {
switch (implementation) {
- case kGLImplementationOSMesaGL:
case kGLImplementationEGLGLES2:
+ InitializeDynamicGLBindingsEGL(context);
+ // Intentionally fall through to also initialize Dynamic GL Bindings.
+ case kGLImplementationOSMesaGL:
case kGLImplementationDesktopGL:
InitializeDynamicGLBindingsGL(context);
break;

Powered by Google App Engine
This is Rietveld 408576698