aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerdisplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llviewerdisplay.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/linden/indra/newview/llviewerdisplay.cpp b/linden/indra/newview/llviewerdisplay.cpp
index fc288c0..64ad66c 100644
--- a/linden/indra/newview/llviewerdisplay.cpp
+++ b/linden/indra/newview/llviewerdisplay.cpp
@@ -35,6 +35,7 @@
35#include "lldir.h" 35#include "lldir.h"
36#include "lldynamictexture.h" 36#include "lldynamictexture.h"
37#include "lldrawpoolalpha.h" 37#include "lldrawpoolalpha.h"
38#include "llfeaturemanager.h"
38#include "llframestats.h" 39#include "llframestats.h"
39#include "llgl.h" 40#include "llgl.h"
40#include "llglheaders.h" 41#include "llglheaders.h"
@@ -217,7 +218,7 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield)
217 // Bail out if we're in the startup state and don't want to try to 218 // Bail out if we're in the startup state and don't want to try to
218 // render the world. 219 // render the world.
219 // 220 //
220 if (gStartupState < STATE_STARTED) 221 if (LLStartUp::getStartupState() < STATE_STARTED)
221 { 222 {
222 display_startup(); 223 display_startup();
223 return; 224 return;
@@ -315,12 +316,6 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield)
315 } 316 }
316 break; 317 break;
317 318
318 case LLAgent::TELEPORT_CANCELLING:
319 gViewerWindow->setProgressCancelButtonVisible(FALSE, "Cancel");
320 gViewerWindow->setProgressPercent( 100.f );
321 gViewerWindow->setProgressString("Canceling...");
322 break;
323
324 case LLAgent::TELEPORT_NONE: 319 case LLAgent::TELEPORT_NONE:
325 // No teleport in progress 320 // No teleport in progress
326 gViewerWindow->setShowProgress(FALSE); 321 gViewerWindow->setShowProgress(FALSE);
@@ -430,7 +425,7 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield)
430 } 425 }
431 else 426 else
432 { 427 {
433 LLPipeline::sUseOcclusion = gSavedSettings.getBOOL("UseOcclusion") && gGLManager.mHasOcclusionQuery; 428 LLPipeline::sUseOcclusion = gSavedSettings.getBOOL("UseOcclusion") && gGLManager.mHasOcclusionQuery && gFeatureManagerp->isFeatureAvailable("UseOcclusion");
434 } 429 }
435 430
436 stop_glerror(); 431 stop_glerror();