From 3a685b10b66b9da6e0baa3ad48409db14e76eced Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Tue, 9 Nov 2021 16:41:24 -0800 Subject: egl: use alts for EGL_EXT_device_enum, if missing --- render/egl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'render') diff --git a/render/egl.c b/render/egl.c index a1846c3e..ec23ce8d 100644 --- a/render/egl.c +++ b/render/egl.c @@ -189,11 +189,11 @@ static struct wlr_egl *egl_create(void) { egl->exts.EXT_platform_device = check_egl_ext(client_exts_str, "EGL_EXT_platform_device"); - if (check_egl_ext(client_exts_str, "EGL_EXT_device_enumeration")) { + if (check_egl_ext(client_exts_str, "EGL_EXT_device_base") || check_egl_ext(client_exts_str, "EGL_EXT_device_enumeration")) { load_egl_proc(&egl->procs.eglQueryDevicesEXT, "eglQueryDevicesEXT"); } - if (check_egl_ext(client_exts_str, "EGL_EXT_device_query")) { + if (check_egl_ext(client_exts_str, "EGL_EXT_device_base") || check_egl_ext(client_exts_str, "EGL_EXT_device_query")) { egl->exts.EXT_device_query = true; load_egl_proc(&egl->procs.eglQueryDeviceStringEXT, "eglQueryDeviceStringEXT"); -- cgit v1.2.3