Describe the bug
It is not currently possible to create one executable that can run Vulkan on Wayland and X11 without beeing recompiled
To Reproduce
Steps to reproduce the behavior:
Compile any bgfx app with -with-wayland
Try to run app on X11 with Vulkan (app will switch to opengl)
Try to run the same app on Wayland (app will run fine)
Repeat without -with-wayland (X11 works, Wayland crashes)
I have been using Sdl2 in my tests (not sure if this matters).
Expected behavior
App running fine on both desktop sessions without using opengl or any crashing.
Additional context
It seems like a wayland header is causing the issue in the vulkan renderer. However having to compile two binaries (wayland and X11 versions) is not great.
Describe the bug It is not currently possible to create one executable that can run Vulkan on Wayland and X11 without beeing recompiled
To Reproduce Steps to reproduce the behavior:
I have been using Sdl2 in my tests (not sure if this matters).
Expected behavior App running fine on both desktop sessions without using opengl or any crashing.
Additional context It seems like a wayland header is causing the issue in the vulkan renderer. However having to compile two binaries (wayland and X11 versions) is not great.