Index: ui/gfx/gl/gl_implementation_linux.cc |
diff --git a/ui/gfx/gl/gl_implementation_linux.cc b/ui/gfx/gl/gl_implementation_linux.cc |
index ee225b19db6e0becfc4f84ad17ee10320c2eeb6d..17575cdcb30e92f0f38a8ea885be7489f9c3d698 100644 |
--- a/ui/gfx/gl/gl_implementation_linux.cc |
+++ b/ui/gfx/gl/gl_implementation_linux.cc |
@@ -58,10 +58,12 @@ base::LazyInstance<base::Lock, |
void GetAllowedGLImplementations(std::vector<GLImplementation>* impls) { |
#if !defined(USE_WAYLAND) |
- impls->push_back(kGLImplementationOSMesaGL); |
impls->push_back(kGLImplementationDesktopGL); |
#endif |
impls->push_back(kGLImplementationEGLGLES2); |
+#if !defined(USE_WAYLAND) |
+ impls->push_back(kGLImplementationOSMesaGL); |
+#endif |
} |
bool InitializeGLBindings(GLImplementation implementation) { |