From 10f73a88a374a250d192b02d783b5de3fe6e4aa6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 13 Sep 2017 01:57:39 +0300 Subject: Fix option for enable/disable screensaver in SDL 2. --- src/utils/sdl2helper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils/sdl2helper.h') 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 -- cgit v1.2.3-70-g09d2