From 8f670620dbf4c8092e9f834f9d65cbc607b81511 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 24 Aug 2013 14:51:24 +0300 Subject: move WMInfo function calls into SDL helper. --- src/utils/sdl2helper.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/utils/sdl2helper.h') diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h index 3e7b20651..5ba2d45bb 100644 --- a/src/utils/sdl2helper.h +++ b/src/utils/sdl2helper.h @@ -27,6 +27,7 @@ #include "localconsts.h" struct SDL_Surface; +struct SDL_SysWMinfo; struct SDL_Window; namespace SDL @@ -42,6 +43,8 @@ namespace SDL void setGamma(SDL_Window *const window, const float gamma); void setVsync(const int val); + + bool getWindowWMInfo(SDL_Window *const window, SDL_SysWMinfo *const info); } // namespace SDL #endif // USE_SDL2 -- cgit v1.2.3-70-g09d2