From 3a8c60fad664cffd2aa6c8e2955742ea9fb5b6a5 Mon Sep 17 00:00:00 2001 From: Nicky Date: Sun, 22 Jun 2014 00:36:09 +0200 Subject: [PATCH] Stop in display_startup once STATE_PRECACHE is reached. At this time display kicks in and draws everything. This also stops the flashing if login process is disabled. --- indra/newview/llviewerdisplay.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp index c8945d8463..78c39eaa23 100755 --- a/indra/newview/llviewerdisplay.cpp +++ b/indra/newview/llviewerdisplay.cpp @@ -134,6 +134,11 @@ void display_startup() return; } + // Once at and past STATE_PRECACHE display() kicks in and starts to draw, we can safely eit here. + if (LLStartUp::getStartupState() >= STATE_PRECACHE) + return; + // + gPipeline.updateGL(); // Update images?