diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 5dd82bc4a..a94323f71 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -4706,6 +4706,8 @@ void LLPipeline::renderDebug() if(!mRenderDebugMask) return; + LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE, GL_LEQUAL); + // Debug stuff. for (LLWorld::region_list_t::const_iterator iter = LLWorld::getInstance()->getRegionList().begin(); iter != LLWorld::getInstance()->getRegionList().end(); ++iter)