egl: only check dri3 on X11
When mesa is built without support for X11 Zink will always refuse to
start unless LIBGL_KOPPER_DRI2
is set.
Only perform this check on X11 where it is relevant.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
When mesa is built without support for X11 Zink will always refuse to
start unless LIBGL_KOPPER_DRI2
is set.
Only perform this check on X11 where it is relevant.