Author :
jsg
Date :
2025-11-11 10:58:10
Hash :9e2aa0a0 Message :detect wayland platform when not built with HAVE_WAYLAND_PLATFORM
Otherwise the default platform type of x11 is used and a pointer is
wrongly cast to an X11 Display type when using wayland.
Mesa can't be built with HAVE_WAYLAND_PLATFORM as the wayland libraries
are not in xenocara.
initial diff from and ok landry@