mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-14 01:59:14 +03:00
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:
+2
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user