Fix alpha flicker when Show Updates is enabled

This commit is contained in:
Siana Gearz
2012-07-23 12:00:33 +02:00
parent c65b659538
commit 1ad4597d7a
2 changed files with 7 additions and 1 deletions

View File

@@ -2390,7 +2390,7 @@ U32 LLVOVolume::getRenderCost(texture_cost_t &textures) const
produces_light = 1;
}
for (S32 i = 0; i < num_faces; ++i)
for (U32 i = 0; i < num_faces; ++i)
{
const LLFace* face = drawablep->getFace(i);
if (!face) continue;

View File

@@ -4251,6 +4251,12 @@ void LLPipeline::renderDebug()
gGL.end();
gGL.flush();
glPointSize(1.f);
if (LLGLSLShader::sNoFixedFunction)
{
gUIProgram.unbind();
}
}
if(!mRenderDebugMask)