mutter/cogl
Adam Jackson ca5ed7369d cogl: Fix GLES2 fallback
Say you're using intel gen3, you poor soul. Your big-GL maxes out at 1.5
unless you use dirty tricks, but you do have GLES2. We try to fall back
to GLES in this case, but we only ever say eglBindAPI(EGL_OPENGL_API).
So when we go to do CreateContext, even though we think we've requested
GLES 2.0, the driver will compare that "2.0" against the maximum big-GL
version, and things will fail.

Fix this by binding EGL_OPENGL_ES_API before trying a GLES context.

https://gitlab.gnome.org/GNOME/mutter/issues/635

(cherry picket from commit f4f7e31303)
2020-01-27 17:09:09 +01:00
..
cogl cogl: Fix GLES2 fallback 2020-01-27 17:09:09 +01:00
cogl-pango cogl-pango/meson.build: Remove extraneous quoting 2019-10-10 17:29:44 +08:00
cogl-path
test-fixtures cogl: Remove unused cogl-gles2 API 2019-08-16 06:35:35 +00:00
tests cogl: Remove unused cogl-gles2 API 2019-08-16 06:35:35 +00:00
.gitignore
cogl-config.h.meson
cogl-mutter-config.h.in
config-custom.h
meson.build cogl: Remove unused cogl-gles2 API 2019-08-16 06:35:35 +00:00