Merge pull request #944 from hellerve/veit/fix-sdl

Fix SDL for newer versions
This commit is contained in:
Erik Svedäng 2020-10-16 07:16:31 +02:00 committed by GitHub
commit 0059729cc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,12 @@
#define Uint8 SDLUint8
#define Uint16 SDLUint16
#define Uint32 SDLUint32
#define Uint64 SDLUint64
#include <SDL2/SDL.h>
#undef Uint8
#undef Uint16
#undef Uint32
#undef Uint64
// Event
SDL_Event SDL_Event_init() {