diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-21 23:58:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:15 +0300 |
commit | bb0281c87995e11dc1cac95009a5253356d94d1a (patch) | |
tree | e8b0a1f0f1560dd5d4308f9f7a2d48264ac0ea45 /src/sdlshared.h | |
parent | e5521effc043cdf9d781816c0d72bd17830e34f8 (diff) | |
download | plus-bb0281c87995e11dc1cac95009a5253356d94d1a.tar.gz plus-bb0281c87995e11dc1cac95009a5253356d94d1a.tar.bz2 plus-bb0281c87995e11dc1cac95009a5253356d94d1a.tar.xz plus-bb0281c87995e11dc1cac95009a5253356d94d1a.zip |
some SDL2 complilation fixes.
Diffstat (limited to 'src/sdlshared.h')
-rw-r--r-- | src/sdlshared.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/sdlshared.h b/src/sdlshared.h index 70798d441..840283688 100644 --- a/src/sdlshared.h +++ b/src/sdlshared.h @@ -23,11 +23,17 @@ #ifdef USE_SDL2 -#define SDLKey SDL_Keycode #define SDL_GetKeyState SDL_GetKeyboardState -#define SDL_HWSURFACE 0 +#define SDLKey SDL_Keycode #define SDL_keysym SDL_Keysym +#define SDL_ANYFORMAT 0 +#define SDL_HWSURFACE 0 +#define SDL_NOFRAME SDL_WINDOW_BORDERLESS +#define SDL_RESIZABLE SDL_WINDOW_RESIZABLE +#define SDL_FULLSCREEN SDL_WINDOW_FULLSCREEN +#define SDL_OPENGL SDL_WINDOW_OPENGL + #define KMOD_META KMOD_GUI #define SDLK_RMETA SDLK_RGUI #define SDLK_LMETA SDLK_LGUI |