diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-12-02 17:35:03 +0200 | 
|---|---|---|
| committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-12-02 17:35:03 +0200 | 
| commit | 2ed229473d7473593e8d502003991487bb622018 (patch) | |
| tree | 72b3c3da45902e9eaa00601868a8a73b29e07bb5 /indra | |
| parent | 1cd1d3fbe2a5aae2e5736bb62c1b4aa413eba7fb (diff) | |
SL-14403 Remove unused shader binds
remains from glod
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llmodelpreview.cpp | 12 | 
1 files changed, 0 insertions, 12 deletions
| diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp index e22a04006e..907b5ec418 100644 --- a/indra/newview/llmodelpreview.cpp +++ b/indra/newview/llmodelpreview.cpp @@ -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() | 
