Remove deprecated gl call in renderComplexityDisplay.

This commit is contained in:
Shyotl
2014-05-17 03:34:33 -05:00
parent a756943628
commit e35039faf7

View File

@@ -2777,7 +2777,7 @@ void renderComplexityDisplay(LLDrawable* drawablep)
// don't highlight objects below the threshold
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();