summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorprep <none@none>2012-02-24 14:34:53 -0500
committerprep <none@none>2012-02-24 14:34:53 -0500
commitb64773bf2d18ae7cb560977e89d10d70a4483290 (patch)
treeffc805115a828eea65532e5d1ee636a21ae42a2c /indra/newview
parentb7d93d8adf9f604a2f345336bd0e37c08a0d10cb (diff)
Fix for nacmesh viewing on low gfx setting and llpathinglib update.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewerdisplay.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index c58783d64b..2f64424e30 100644
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -911,6 +911,7 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot)
//NavMesh
if (pathfindingConsole->isRenderNavMesh())
{
+ glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
llPathingLibInstance->renderNavMesh();
exclusiveDraw = true;
}