fix definition to use SDL3
This commit is contained in:
parent
7db5f56e81
commit
39491a2178
|
|
@ -120,7 +120,7 @@ elseif ("${PLATFORM}" MATCHES "SDL")
|
|||
find_package(SDL3 QUIET)
|
||||
if(SDL3_FOUND)
|
||||
message(STATUS "Found SDL3 via find_package()")
|
||||
set(PLATFORM_CPP "PLATFORM_DESKTOP_SDL")
|
||||
set(PLATFORM_CPP "PLATFORM_DESKTOP_SDL3")
|
||||
set(LIBS_PRIVATE SDL3::SDL3)
|
||||
add_compile_definitions(USING_SDL3_PACKAGE)
|
||||
else()
|
||||
|
|
|
|||
|
|
@ -553,6 +553,8 @@ const char *TextFormat(const char *text, ...); // Formatting of text with variab
|
|||
#include "platforms/rcore_desktop_glfw.c"
|
||||
#elif defined(PLATFORM_DESKTOP_SDL)
|
||||
#include "platforms/rcore_desktop_sdl.c"
|
||||
#elif defined(PLATFORM_DESKTOP_SDL3)
|
||||
#include "platforms/rcore_desktop_sdl.c"
|
||||
#elif (defined(PLATFORM_DESKTOP_RGFW) || defined(PLATFORM_WEB_RGFW))
|
||||
#include "platforms/rcore_desktop_rgfw.c"
|
||||
#elif defined(PLATFORM_DESKTOP_WIN32)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user