Wayland support (vk only)
Re: #358
Turns out that only a minimal change is needed to get Wayland support working in diligent - at least for vulkan only.
This patch will only try to create a wayland window if NativeWindow::pWaylandSurface is defined, otherwise will fall back to xcb/xlib
I am not fully following the logic - are you trying to create surface for everything? The expectation is that the user will try to initialize the swap chain for one specific surface, not all of them, so it looks like all is needed here is to add the Wayland surface and then properly use it.
Right yes we can get rid of the foundPlatform flag. I was thinking automatic fallback but it makes no sense since each windowing system has its own property in LinuxNativeWindow.