diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-01-18 18:19:13 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-01-18 18:19:13 +0100 |
commit | ebb5d6bb48d6f979e63c36688368290a09c4dc8e (patch) | |
tree | a903690e2756a95221762d029cc297748106d1e6 | |
parent | 765ffc983edc72291156656319054e890fce004d (diff) | |
parent | c937fd5be6a9d789e2ab9150a10dc55900df1f9a (diff) |
Merge pull request #3377 from volzhs/fix_keep_screen_on_ios
missed rename "keep_screen_on" for ios
-rw-r--r-- | platform/iphone/app_delegate.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/app_delegate.mm b/platform/iphone/app_delegate.mm index e90a16a684..a3af8ff163 100644 --- a/platform/iphone/app_delegate.mm +++ b/platform/iphone/app_delegate.mm @@ -243,7 +243,7 @@ static int frame_count = 0; view_controller.view = glView; window.rootViewController = view_controller; - _set_keep_screen_on(bool(GLOBAL_DEF("display/set_keep_screen_on",true)) ? YES : NO); + _set_keep_screen_on(bool(GLOBAL_DEF("display/keep_screen_on",true)) ? YES : NO); glView.useCADisplayLink = bool(GLOBAL_DEF("display.iOS/use_cadisplaylink",true)) ? YES : NO; printf("cadisaplylink: %d", glView.useCADisplayLink); glView.animationInterval = 1.0 / kRenderingFrequency; |