diff options
author | Dave Parks <davep@lindenlab.com> | 2011-11-10 11:39:08 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-11-10 11:39:08 -0600 |
commit | c8f558f6775d62f03d6caab19668df80e95e8a8b (patch) | |
tree | b74dd0d7e34bf670ebf59b2f37c6c7509f599d87 /indra/newview/lldrawpoolterrain.cpp | |
parent | aa8f3d30704ea43a8fc2f9262a57968277c4db20 (diff) |
SH-2240 Better fix for red moon -- stop special casing "highlight_color" as a parameter.
Diffstat (limited to 'indra/newview/lldrawpoolterrain.cpp')
-rw-r--r-- | indra/newview/lldrawpoolterrain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolterrain.cpp b/indra/newview/lldrawpoolterrain.cpp index addb18a1d5..b8e653c5de 100644 --- a/indra/newview/lldrawpoolterrain.cpp +++ b/indra/newview/lldrawpoolterrain.cpp @@ -246,7 +246,7 @@ void LLDrawPoolTerrain::render(S32 pass) sShader->unbind(); sShader = &gHighlightProgram; sShader->bind(); - sShader->uniform4f(LLShaderMgr::HIGHLIGHT_COLOR, 1,1,1,1); + gGL.diffuseColor4f(1,1,1,1); LLGLEnable polyOffset(GL_POLYGON_OFFSET_FILL); glPolygonOffset(-1.0f, -1.0f); renderOwnership(); |