engine: port occasional SDL2 calls to SDL3, no platform yet

This commit is contained in:
Alibek Omarov
2025-05-11 16:18:10 +03:00
parent ffc8bf30d7
commit 97bdd9dba0
4 changed files with 36 additions and 18 deletions
+4 -2
View File
@@ -23,8 +23,10 @@ GNU General Public License for more details.
#include <intrin.h>
#endif
#ifdef XASH_SDL
#include <SDL.h>
#if XASH_SDL == 2
#include <SDL2/SDL.h>
#elif XASH_SDL == 3
#include <SDL3/SDL.h>
#endif
#if XASH_POSIX