SL-14403 Remove unused shader binds

remains from glod
meow-7.2.2
Andrey Kleshchev 2021-12-02 17:35:03 +02:00
parent 1cd1d3fbe2
commit 2ed229473d
1 changed files with 0 additions and 12 deletions

View File

@ -1691,12 +1691,6 @@ void LLModelPreview::genMeshOptimizerLODs(S32 which_lod, S32 meshopt_mode, U32 d
end = which_lod;
}
LLGLSLShader* shader = LLGLSLShader::sCurBoundShaderPtr;
if (shader)
{
shader->unbind();
}
for (S32 lod = start; lod >= end; --lod)
{
if (which_lod == -1)
@ -1855,12 +1849,6 @@ void LLModelPreview::genMeshOptimizerLODs(S32 which_lod, S32 meshopt_mode, U32 d
}
mResourceCost = calcResourceCost();
LLVertexBuffer::unbind();
if (shader)
{
shader->bind();
}
}
void LLModelPreview::updateStatusMessages()