iOS: Added support for SDL_DisableScreenSaver and SDL_EnableScreenSaver.

This commit is contained in:
Alex Szpakowski committed 2015-05-16 16:55:56 -03:00
1 parent f7ac02010f
commit 240a3fbffe
3 files changed
+22

No files matched your search

+3
View File
@@ -243,6 +243,9 @@ extern "C" {
* this is problematic. This functionality can be disabled by setting this
* hint.
*
* As of SDL 2.0.4, SDL_EnableScreenSaver and SDL_DisableScreenSaver accomplish
* the same thing on iOS. They should be preferred over this hint.
*
* This variable can be set to the following values:
* "0" - Enable idle timer
* "1" - Disable idle timer