From 902cfb7a2266929eccf5ec1cef960b14771e1eea Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Tue, 8 Aug 2017 19:04:18 +0300 Subject: MAINT-7671 display_startup() was called twice per frame on login screen --- indra/newview/llstartup.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 1a480b1838..fcde03244a 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -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; -- cgit v1.2.3