summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerdisplay.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-03-26 15:41:27 -0500
committerDave Parks <davep@lindenlab.com>2012-03-26 15:41:27 -0500
commit654dd60ca7310db940e09065a3f6e7fec377c956 (patch)
treed401b682f18da1c5dfbea261ed5da05665d5ab81 /indra/newview/llviewerdisplay.cpp
parentb187aeb8f177bd76e792652e773617beff18b47b (diff)
parentce0f455b7cb5a5d45e7682e4a4180b577eda3c5a (diff)
merge
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r--indra/newview/llviewerdisplay.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index cb40af7061..0adb187dd2 100644
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -260,6 +260,9 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot)
gPipeline.disableLights();
+ //reset vertex buffers if needed
+ gPipeline.doResetVertexBuffers();
+
stop_glerror();
// Don't draw if the window is hidden or minimized.