Skip to content
Snippets Groups Projects
Commit da092a06 authored by David Parks's avatar David Parks
Browse files

SH-2608 Fix for debug beacons not rendering properly.

parent 428b74f1
No related branches found
No related tags found
No related merge requests found
...@@ -4250,8 +4250,16 @@ void LLPipeline::renderDebug() ...@@ -4250,8 +4250,16 @@ void LLPipeline::renderDebug()
bool hud_only = hasRenderType(LLPipeline::RENDER_TYPE_HUD); bool hud_only = hasRenderType(LLPipeline::RENDER_TYPE_HUD);
if (!hud_only && !mDebugBlips.empty()) if (!hud_only && !mDebugBlips.empty())
{ //render debug blips { //render debug blips
if (LLGLSLShader::sNoFixedFunction)
{
gUIProgram.bind();
}
gGL.getTexUnit(0)->bind(LLViewerFetchedTexture::sWhiteImagep, true);
glPointSize(8.f); glPointSize(8.f);
LLGLDepthTest depth(GL_TRUE, GL_TRUE, GL_ALWAYS); LLGLDepthTest depth(GL_TRUE, GL_TRUE, GL_ALWAYS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment