mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-05-20 13:31:10 +00:00

We used to test for the EGL_KHR_platform_base and EGL_EXT_platform_base, but those only really signal the availability of eglGetPlatformDisplay(EXT) functions, not whether the constant EGL_PLATFORM_WAYLAND_KHR or EGL_PLATFORM_WAYLAND_EXT is accepted by their respective functions. Instead, we switch to test for the extensions that tells us whether the Wayland platform is supported.