diff options
author | Dave Parks <davep@lindenlab.com> | 2012-03-26 15:41:27 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-03-26 15:41:27 -0500 |
commit | 654dd60ca7310db940e09065a3f6e7fec377c956 (patch) | |
tree | d401b682f18da1c5dfbea261ed5da05665d5ab81 /indra/newview/llviewerdisplay.cpp | |
parent | b187aeb8f177bd76e792652e773617beff18b47b (diff) | |
parent | ce0f455b7cb5a5d45e7682e4a4180b577eda3c5a (diff) |
merge
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r-- | indra/newview/llviewerdisplay.cpp | 3 |
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. |