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
+4
View File
@@ -27,7 +27,11 @@
#include "graphics/Graphics.h"
// SDL
#if __has_include(<SDL3/SDL.h>)
#include <SDL3/SDL.h>
#else
#include <SDL.h>
#endif
namespace love
{