mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -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,
|
if (!meta_egl_has_extensions (egl, EGL_NO_DISPLAY, NULL,
|
||||||
"EGL_MESA_platform_gbm",
|
"EGL_MESA_platform_gbm",
|
||||||
|
NULL) &&
|
||||||
|
!meta_egl_has_extensions (egl, EGL_NO_DISPLAY, NULL,
|
||||||
|
"EGL_KHR_platform_gbm",
|
||||||
NULL))
|
NULL))
|
||||||
{
|
{
|
||||||
g_set_error (error, G_IO_ERROR,
|
g_set_error (error, G_IO_ERROR,
|
||||||
|
Loading…
Reference in New Issue
Block a user