Prevent debug visualizations from writing to the z-buffer (caused occlusion weirdness)

This commit is contained in:
Shyotl
2014-02-09 23:40:03 -06:00
parent eab807daeb
commit 9d7d7590a7

View File

@@ -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)