SH-2608 Fix for debug beacons not rendering properly.

meow-7.2.2
Dave Parks 2011-11-08 14:37:50 -06:00
parent 428b74f14b
commit da092a06cf
1 changed files with 8 additions and 0 deletions

View File

@ -4250,8 +4250,16 @@ void LLPipeline::renderDebug()
bool hud_only = hasRenderType(LLPipeline::RENDER_TYPE_HUD);
if (!hud_only && !mDebugBlips.empty())
{ //render debug blips
if (LLGLSLShader::sNoFixedFunction)
{
gUIProgram.bind();
}
gGL.getTexUnit(0)->bind(LLViewerFetchedTexture::sWhiteImagep, true);
glPointSize(8.f);
LLGLDepthTest depth(GL_TRUE, GL_TRUE, GL_ALWAYS);