egl: don't expose swrast device if swrast is not built
authorMarek Olšák <marek.olsak@amd.com>
Fri, 27 Jan 2023 03:29:19 +0000 (22:29 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 22 Mar 2023 18:23:37 +0000 (18:23 +0000)
commit48e218b49d6bdfd167b755e3983bce4f14132347
tree61b917e54369e759ecdb2455f6ce0be47360f5ba
parent59527150640e1f62cbc69aa5a28494ce8b119fea
egl: don't expose swrast device if swrast is not built

This fixes piglit/egl_ext_device_base without swrast.

Reviewed-by: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20951>
src/egl/main/egldevice.c
src/egl/meson.build