MAINT-7671 display_startup() was called twice per frame on login screen

meow-7.2.2
andreykproductengine 2017-08-08 19:04:18 +03:00
parent 6302b0a9c7
commit 902cfb7a22
1 changed files with 2 additions and 1 deletions

View File

@ -830,7 +830,8 @@ bool idle_startup()
// Don't do anything. Wait for the login view to call the login_callback,
// which will push us to the next state.
display_startup();
// display() function will be the one to run display_startup()
// Sleep so we don't spin the CPU
ms_sleep(1);
return FALSE;