653d59af04
The EGL API doesn't provide for a way to explicitly select a platform when the driver can support multiple. Mesa allows selection using an EGL_PLATFORM environment variable though so we set that to "wayland" when we know that's what we want.