diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-24 14:51:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:17 +0300 |
commit | 8f670620dbf4c8092e9f834f9d65cbc607b81511 (patch) | |
tree | 1a1a8e51ecaa65955639c3f9279f6f704e6dac5d /src/utils/sdlhelper.h | |
parent | ed77e8fb99e16e72cde0e163a9b58c5cefd8d05d (diff) | |
download | mv-8f670620dbf4c8092e9f834f9d65cbc607b81511.tar.gz mv-8f670620dbf4c8092e9f834f9d65cbc607b81511.tar.bz2 mv-8f670620dbf4c8092e9f834f9d65cbc607b81511.tar.xz mv-8f670620dbf4c8092e9f834f9d65cbc607b81511.zip |
move WMInfo function calls into SDL helper.
Diffstat (limited to 'src/utils/sdlhelper.h')
-rw-r--r-- | src/utils/sdlhelper.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |