394c3b97f1
Currently we verify that by checking if the EGLDevice has a NULL drmDevicePtr. We have a proper way of checking that with _eglDeviceSupports(dev, _EGL_DEVICE_SOFTWARE), so use that to make things more explicit. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Simon Ser <contact@emersion.fr> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25504>