Use SDL3-compatible SDL includes when SDL3 headers are available

This commit is contained in:
Sasha Szpakowski
2024-10-06 20:27:28 -03:00
parent 20b527f2ab
commit e986160431
27 changed files with 122 additions and 2 deletions
@@ -34,8 +34,13 @@
#endif
// SDL
#if __has_include(<SDL3/SDL_loadso.h>)
#include <SDL3/SDL_loadso.h>
#include <SDL3/SDL_version.h>
#else
#include <SDL_loadso.h>
#include <SDL_version.h>
#endif
// STL
#include <vector>