egl: error out if we can't find an EGLDevice in _eglFindDevice()
authorLeandro Ribeiro <leandro.ribeiro@collabora.com>
Mon, 4 Sep 2023 16:34:27 +0000 (13:34 -0300)
committerMarge Bot <emma+marge@anholt.net>
Tue, 17 Oct 2023 20:31:13 +0000 (20:31 +0000)
commit2be404f5571ada32d3b2e9cfe9b769846f27d68f
tree62137afc4ea00d088f2ab61e266fd5ddc812fcf0
parent88c03ddd345fe6b0cd16c11cb5c5309f8d7d16ff
egl: error out if we can't find an EGLDevice in _eglFindDevice()

Follow up of "egl/drm: get compatible render-only device fd for kms-only
device". Now we can properly error out when we don't find the EGLDevice
in _eglFindDevice().

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24825>
src/egl/main/egldevice.c