summaryrefslogtreecommitdiff
path: root/src/sdlshared.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdlshared.h')
-rw-r--r--src/sdlshared.h10
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