Commit 975d3a50 authored by Adam Jackson's avatar Adam Jackson 🎧
Browse files

xwayland: Avoid using epoxy_has_egl()



There's no real point - if we don't have EGL then the extension check is
also going to fail - and the entrypoint is new in 1.5.0, which we don't
need to require yet.
Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
Reviewed-by: Mario Kleiner's avatarMario Kleiner <mario.kleiner.de@gmail.com>
parent d6f2272f
......@@ -55,8 +55,7 @@ xwl_glamor_egl_make_current(struct xwl_screen *xwl_screen)
Bool
xwl_glamor_egl_supports_device_probing(void)
{
return epoxy_has_egl() &&
epoxy_has_egl_extension(NULL, "EGL_EXT_device_base");
return epoxy_has_egl_extension(NULL, "EGL_EXT_device_base");
}
void **
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment