mirror of
https://github.com/love2d/megasource.git
synced 2026-08-20 12:40:06 +02:00
update SDL3 to 3.1.6.
This commit is contained in:
@@ -662,6 +662,21 @@ macro(CheckVivante)
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
# Requires:
|
||||
# - n/a
|
||||
macro(CheckOpenVR)
|
||||
if(SDL_OPENVR)
|
||||
set(HAVE_OPENVR TRUE)
|
||||
set(HAVE_OPENVR_VIDEO TRUE)
|
||||
|
||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/video/openvr/*.c")
|
||||
set(SDL_VIDEO_DRIVER_OPENVR 1)
|
||||
if(NOT WINDOWS)
|
||||
sdl_link_dependency(egl LIBS EGL)
|
||||
endif()
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
# Requires:
|
||||
# - nada
|
||||
macro(CheckGLX)
|
||||
|
||||
Reference in New Issue
Block a user