Open kungfooman opened 3 weeks ago
IIRC Vulkan support has beed added to SDL2 since 2.0.5 otherwise it wouldn't even compile - that's why USE_VULKAN_API
definition was added to compile in legacy environments
IIRC Vulkan support has beed added to SDL2 since 2.0.5 otherwise it wouldn't even compile - that's why
USE_VULKAN_API
definition was added to compile in legacy environments
Good point, thank you, I just know that it doesn't work even though it compiles, as you say. Maybe @ensiform knows why it doesn't work, even though it compiles?
Vulkan support is either not configured in SDL
I guess that when SDL 2.0.10+5rpi
came out - there were no official Vulkan driver yet available so they run ./configure
(or whatever) script and compile it without Vulkan support
@kungfooman could you point on what is located inside 2.0.10+5rpi
development package, I'm interested in SDL_config.h
- did it contains something like that:
/* Enable Vulkan support */
#define SDL_VIDEO_VULKAN 1
If it wasn't for @ensiform I would have probably never figured this out. I'm using TwisterOS and
apt install libsdl2-dev
only installs version2.0.10+5rpi
but2.3
is needed, I used this one:It would fail previously with:
And a better error message when doing
+set developer 1
:SDL_CreateWindow failed: Vulkan support is either not configured in SDL or not available in current SDL video driver (x11) or platform
(same message displays like 17 times)Afterwards I had to rebuild Q3E once more... but now I can finally run it with Vulkan!
Ideally there should be a SDL minimally supported version check?