summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerdisplay.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-02-01 09:49:55 -0800
committerGraham Linden <graham@lindenlab.com>2019-02-01 09:49:55 -0800
commitdb97bb51489dc610fd748b73c321a08e7388d668 (patch)
tree4cceb127e8352e85c2c60ca2f41cf4e31ed7cccb /indra/newview/llviewerdisplay.cpp
parent50b383e5aa333d453e906ae2beb28fe1da549bef (diff)
Roll back attempted fix for 9996 on ALM which has unacceptable knock-on effects.
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r--indra/newview/llviewerdisplay.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index 2445605f19..2d4478bfdb 100644
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -157,7 +157,6 @@ void display_startup()
LLGLState::checkStates();
LLGLState::checkTextureChannels();
- glClearDepth(1.25f);
glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
LLGLSUIDefault gls_ui;
gPipeline.disableLights();
@@ -753,7 +752,6 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot)
LLGLState::checkClientArrays();
}
- glClearDepth(1.25f);
glClear(GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
}