mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Add basic vulkan support to offscreen video driver so it doesn't crash if you happen to get the offscreen driver and try to use vulkan.
Enable offscreen video driver in windows to make it easier to test. Enable offscreen video driver in macos just to complete the desktop computer trio.
This commit is contained in:
parent
04a0a85d92
commit
b1b4638cac
8 changed files with 369 additions and 2 deletions
|
|
@ -2907,7 +2907,7 @@ endif()
|
|||
# Platform-independent options
|
||||
|
||||
if(SDL_VIDEO)
|
||||
if(SDL_OFFSCREEN AND SDL_VIDEO_OPENGL_EGL)
|
||||
if(SDL_OFFSCREEN)
|
||||
set(SDL_VIDEO_DRIVER_OFFSCREEN 1)
|
||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/video/offscreen/*.c")
|
||||
set(HAVE_OFFSCREEN TRUE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue