diff options
author | Jacek Antonelli | 2008-08-15 23:45:07 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:07 -0500 |
commit | 8465910c79b8e746e04fd581cca2d60399e569b9 (patch) | |
tree | f43fec3e83c46e0d6190dca923d6fb268b52ffdd /linden/indra/newview/llviewerdisplay.cpp | |
parent | Second Life viewer sources 1.18.2.1 (diff) | |
download | meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.zip meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.gz meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.bz2 meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.xz |
Second Life viewer sources 1.18.3.2-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llviewerdisplay.cpp | 11 |
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(); |