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/sdlhelper.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/utils/sdlhelper.h') diff --git a/src/utils/sdlhelper.h b/src/utils/sdlhelper.h index acaf7111b..27d5cc2ab 100644 --- a/src/utils/sdlhelper.h +++ b/src/utils/sdlhelper.h @@ -30,6 +30,7 @@ #include "localconsts.h" struct SDL_Surface; +struct SDL_SysWMinfo; namespace SDL { @@ -46,6 +47,9 @@ namespace SDL void setGamma(SDL_Surface *const window A_UNUSED, const float gamma); void setVsync(const int val); + + bool getWindowWMInfo(SDL_Surface *const window A_UNUSED, + SDL_SysWMinfo *const info); } // namespace SDL #endif // USE_SDL2 -- cgit v1.2.3-70-g09d2