Migrate to SDL3 (except for Android and Switch)

Switch desktop/emscripten builds from SDL2 to SDL3, applying only the
API changes that cannot compile through the SDL_oldnames.h aliases. Pure
renames will be swept in a follow-up commit.
This commit is contained in:
kichikuou
2026-09-10 20:47:34 +09:00
parent 630fec153c
commit af69b3cfb3
32 changed files with 227 additions and 213 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
#include <limits.h>
#include <stdio.h>
#ifdef _WIN32
#include <windows.h>
#undef ERROR
#endif
#include <SDL.h>
#include <SDL3/SDL.h>
#include "common.h"
SDL_RWops* open_resource(const char* name, const char* type) {