diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-13 01:57:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-13 01:57:39 +0300 |
commit | 10f73a88a374a250d192b02d783b5de3fe6e4aa6 (patch) | |
tree | bc7168fc5fbeeb68470d4245c7319c5a1098b554 /src/utils/sdl2helper.h | |
parent | 1f71a98b9377324bb08ba20fbfe52cbff67c49c9 (diff) | |
download | manaplus-10f73a88a374a250d192b02d783b5de3fe6e4aa6.tar.gz manaplus-10f73a88a374a250d192b02d783b5de3fe6e4aa6.tar.bz2 manaplus-10f73a88a374a250d192b02d783b5de3fe6e4aa6.tar.xz manaplus-10f73a88a374a250d192b02d783b5de3fe6e4aa6.zip |
Fix option for enable/disable screensaver in SDL 2.
Diffstat (limited to 'src/utils/sdl2helper.h')
-rw-r--r-- | src/utils/sdl2helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h index 55d69a75d..4dbbad0f9 100644 --- a/src/utils/sdl2helper.h +++ b/src/utils/sdl2helper.h @@ -71,6 +71,8 @@ namespace SDL void WaitThread(SDL_Thread *const thread); bool PollEvent(SDL_Event *event); + + void allowScreenSaver(const bool allow); } // namespace SDL #endif // USE_SDL2 |