summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerdisplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r--indra/newview/llviewerdisplay.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index eef43af4c3..9e5b566e60 100644
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -471,12 +471,6 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot)
//
LLAppViewer::instance()->pingMainloopTimeout("Display:RenderSetup");
stop_glerror();
- if (gSavedSettings.getBOOL("ShowDepthBuffer"))
- {
- pre_show_depth_buffer();
- }
-
- stop_glerror();
///////////////////////////////////////
//
@@ -1088,11 +1082,6 @@ void render_ui_3d()
// Debugging stuff goes before the UI.
- if (gSavedSettings.getBOOL("ShowDepthBuffer"))
- {
- post_show_depth_buffer();
- }
-
// Coordinate axes
if (gSavedSettings.getBOOL("ShowAxes"))
{