diff options
Diffstat (limited to 'main/main.cpp')
-rw-r--r-- | main/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/main/main.cpp b/main/main.cpp index 023520017b..c4bca94b44 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -177,7 +177,7 @@ static String get_full_version_string() { void Main::print_help(const char *p_binary) { - print_line(String(_MKSTR(VERSION_NAME)) + " v" + get_full_version_string() + " - https://godotengine.org"); + print_line(String(VERSION_NAME) + " v" + get_full_version_string() + " - https://godotengine.org"); OS::get_singleton()->print("(c) 2007-2017 Juan Linietsky, Ariel Manzur.\n"); OS::get_singleton()->print("(c) 2014-2017 Godot Engine contributors.\n"); OS::get_singleton()->print("\n"); @@ -1766,8 +1766,7 @@ bool Main::iteration() { return exit; if (OS::get_singleton()->is_in_low_processor_usage_mode() || !OS::get_singleton()->can_draw()) - //OS::get_singleton()->delay_usec(16600); //apply some delay to force idle time (results in about 60 FPS max) - OS::get_singleton()->delay_usec(1000); //apply some delay to force idle time (results in about 60 FPS max) + OS::get_singleton()->delay_usec(16600); //apply some delay to force idle time (results in about 60 FPS max) else { uint32_t frame_delay = Engine::get_singleton()->get_frame_delay(); if (frame_delay) |