mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -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
3ee1999c70
commit
049418cd03
@ -2670,6 +2670,9 @@ create_renderer_gpu_data_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