You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Revert "change low cpu delay to 1 usec, should make editor smoother and not really use"
This reverts commitca19403306. See discussion inca19403306 (commitcomment-25715906)It also did not fix the issue it claimed to fix.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user