mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
renderer/native: Also allow EGL_KHR_platform_gbm extension string
Proprietary drivers such as ARM Mali export EGL_KHR_platform_gbm instead of EGL_MESA_platform_gbm. As such, GBM platform check should be done for both MESA and non-MESA drivers. https://bugzilla.gnome.org/show_bug.cgi?id=780668
This commit is contained in:
parent
74e88dd18f
commit
ce7dbfb3d9
@ -1879,6 +1879,9 @@ init_gbm (MetaRendererNative *renderer_native,
|
||||
|
||||
if (!meta_egl_has_extensions (egl, EGL_NO_DISPLAY, NULL,
|
||||
"EGL_MESA_platform_gbm",
|
||||
NULL) &&
|
||||
!meta_egl_has_extensions (egl, EGL_NO_DISPLAY, NULL,
|
||||
"EGL_KHR_platform_gbm",
|
||||
NULL))
|
||||
{
|
||||
g_set_error (error, G_IO_ERROR,
|
||||
|
Loading…
Reference in New Issue
Block a user