diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 87e21c1f05c2ce7b7601e7da91562e46c13cf0f5..90681514355631b33d0955dd3b5ea3c3755ff1a1 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -4328,10 +4328,16 @@ void LLPipeline::renderDebug()
 	LLMemType mt(LLMemType::MTYPE_PIPELINE);
 
 	assertInitialized();
+	
 	if (LLGLSLShader::sNoFixedFunction)
 	{
 		gUIProgram.bind();
 	}
+
+	gGL.setSceneBlendType(LLRender::BT_ALPHA);
+	gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
+	gPipeline.disableLights();
+
 	//Render any navmesh geometry	
 	LLPathingLib *llPathingLibInstance = LLPathingLib::getInstance();
 	if ( llPathingLibInstance != NULL )