diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 627df738a..41890cdaa 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -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();