Fix alpha flicker when Show Updates is enabled
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -4251,6 +4251,12 @@ void LLPipeline::renderDebug()
|
||||
gGL.end();
|
||||
gGL.flush();
|
||||
glPointSize(1.f);
|
||||
|
||||
if (LLGLSLShader::sNoFixedFunction)
|
||||
{
|
||||
gUIProgram.unbind();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if(!mRenderDebugMask)
|
||||
|
||||
Reference in New Issue
Block a user