diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-03-28 18:26:00 -0700 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-03-28 18:26:00 -0700 |
commit | f9a0f79838d2431894bd6cc1e244f743e8581ccb (patch) | |
tree | a4f452edad25831eaf3033fe4df329242ddd140d /indra/newview/pipeline.cpp | |
parent | 6d530eb30bfce7d4896828e977c108a20138a10e (diff) |
Updating the navmesh colors based on discussions with Leo.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 89824d9da6..3d4cf6afd9 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -4344,8 +4344,7 @@ void LLPipeline::renderDebug() }
else
{
- //glClearColor(0,0,0,0);
- LLColor4U clearColor = pathfindingConsole->mNavMeshColors.mNavMeshClear;
+ const LLColor4 &clearColor = pathfindingConsole->mNavMeshColors.mNavMeshClear;
glClearColor(clearColor.mV[0],clearColor.mV[1],clearColor.mV[2],0);
glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
glPolygonMode( GL_FRONT_AND_BACK, GL_FILL );
|