Miguel A. Vico 0f93452488 renderer/native: Choose first EGL config for non-GBM backends
Commit 712ec30cd9be1f180c3789e7e6a042c5f7b5781d added the logic to only
choose EGL configs that match the GBM_FORMAT_XRGB8888 pixel format.
However, there won't be any EGL config satisfying such criteria for
non-GBM backends, such as EGLDevice.

This change will let us choose the first EGL config for the EGLDevice
backend, while still forcing GBM_FORMAT_XRGB8888 configs for the GBM
one.

Related to: https://gitlab.gnome.org/GNOME/mutter/issues/2

(cherry picked from commit 1bf2eb95b502ed0419b0fe8979c022cacaf79e84)
2019-02-11 13:40:13 -05:00
..
2019-02-11 13:40:06 -05:00
2019-02-11 13:40:09 -05:00
2019-02-11 13:40:06 -05:00
2015-07-05 22:01:59 -07:00
2015-07-05 22:01:59 -07:00