iOS: Added support for SDL_DisableScreenSaver and SDL_EnableScreenSaver.

This commit is contained in:
Alex Szpakowski 2015-05-16 16:55:56 -03:00
parent f7ac02010f
commit 240a3fbffe
3 changed files with 22 additions and 0 deletions

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