egl: fix _eglMatchDriver() return type
authorEric Engestrom <eric@engestrom.ch>
Tue, 21 Jul 2020 22:51:51 +0000 (00:51 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Jul 2020 23:24:30 +0000 (23:24 +0000)
commita77050c03459689f8ea59e51da31c954006ce6ae
tree82aed6da707d01166cb8355bf57e2e3e2f6e9dc5
parentf91851e6159d9a025aac971b6772ef9904c9d803
egl: fix _eglMatchDriver() return type

The one caller only ever checks if the return value is NULL or not, so
let's simplify the function by only returning that information.

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Marcin Ĺšlusarz <marcin.slusarz@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6037>
src/egl/main/egldriver.c
src/egl/main/egldriver.h