mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 00:48:09 +01:00
Add comment on why the low processor usage doesn't work on android.
This commit is contained in:
parent
068d2b506b
commit
c9ad789c17
@ -280,6 +280,9 @@ void OS_Android::set_keep_screen_on(bool p_enabled) {
|
||||
void OS_Android::set_low_processor_usage_mode(bool p_enabled) {
|
||||
#ifdef TOOLS_ENABLED
|
||||
// Disabled as it causes flickers. We also expect the devices running Godot in editor mode to be high end.
|
||||
// The actual reason for this is that android swaps framebuffers by itself after the end of GodotRenderer.onDrawFrame()
|
||||
// However GodotRenderer.onDrawFrame() steps godot's mainloop, which processes input, and then it decides whether to draw frames or not
|
||||
// (if in low processor mode)
|
||||
OS_Unix::set_low_processor_usage_mode(false);
|
||||
#else
|
||||
OS_Unix::set_low_processor_usage_mode(p_enabled);
|
||||
|
Loading…
Reference in New Issue
Block a user