Remove deprecated gl call in renderComplexityDisplay.
This commit is contained in:
@@ -2777,7 +2777,7 @@ void renderComplexityDisplay(LLDrawable* drawablep)
|
|||||||
// don't highlight objects below the threshold
|
// don't highlight objects below the threshold
|
||||||
if (cost > gSavedSettings.getS32("RenderComplexityThreshold"))
|
if (cost > gSavedSettings.getS32("RenderComplexityThreshold"))
|
||||||
{
|
{
|
||||||
glColor4f(color[0],color[1],color[2],0.5f);
|
gGL.diffuseColor4f(color[0],color[1],color[2],0.5f);
|
||||||
|
|
||||||
|
|
||||||
S32 num_faces = drawablep->getNumFaces();
|
S32 num_faces = drawablep->getNumFaces();
|
||||||
|
|||||||
Reference in New Issue
Block a user