diff options
author | Calinou <calinou@opmbx.org> | 2016-05-22 23:51:38 +0200 |
---|---|---|
committer | Calinou <calinou@opmbx.org> | 2016-05-22 23:51:38 +0200 |
commit | cc5a020afe3e02a421b3fcfdfac3b6ea9cf6699d (patch) | |
tree | bc5c2f011779b9bb2500e73c4bd79911d901a7c4 /main | |
parent | ec7c36aa3eccaa1bb26c119041fd6c9459396a1c (diff) |
Change low processor usage mode to cap to 60 FPS rather than 40 FPS
This results in smoother operation in the editor, without needing to
resort to the "Update Always" method which uses more resources than
needed.
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index 9352055246..0a92971bae 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1639,7 +1639,7 @@ bool Main::iteration() { } if (OS::get_singleton()->is_in_low_processor_usage_mode() || !OS::get_singleton()->can_draw()) - OS::get_singleton()->delay_usec(25000); //apply some delay to force idle time + OS::get_singleton()->delay_usec(16600); //apply some delay to force idle time (results in about 60 FPS max) else { uint32_t frame_delay = OS::get_singleton()->get_frame_delay(); if (frame_delay) |