Merge branch 'egl-config-8888' into 'master'

wayland: Explicitly require RGBA8888

See merge request GNOME/gtk!944
This commit is contained in:
Matthias Clasen 2019-06-17 17:03:21 +00:00
commit 0b1efebb39

View File

@ -391,13 +391,13 @@ find_eglconfig_for_surface (GdkSurface *surface,
attrs[i++] = EGL_RGB_BUFFER;
attrs[i++] = EGL_RED_SIZE;
attrs[i++] = 1;
attrs[i++] = 8;
attrs[i++] = EGL_GREEN_SIZE;
attrs[i++] = 1;
attrs[i++] = 8;
attrs[i++] = EGL_BLUE_SIZE;
attrs[i++] = 1;
attrs[i++] = 8;
attrs[i++] = EGL_ALPHA_SIZE;
attrs[i++] = 1;
attrs[i++] = 8;
attrs[i++] = EGL_NONE;
g_assert (i < MAX_EGL_ATTRS);