diff options
author | Dave Parks <davep@lindenlab.com> | 2010-08-10 09:13:41 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-08-10 09:13:41 -0500 |
commit | e62e31a2f2e1b1a33cc979f5e47e303a1a9eae05 (patch) | |
tree | bbbfcf7f0f0a6f044f99b193625cec5ac45226b0 | |
parent | 77330d5c3125cf3d0a2118e5731de0b1bcb7f138 (diff) |
Fix for crash when deferred rendering enabled and toggling wireframe.
(transplanted from 3886dff9a2829c7a8957d2cc48742e0678ec06a6)
-rw-r--r-- | indra/newview/llviewermenu.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index a289a0eb7a..40bf62acc9 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -1083,6 +1083,8 @@ class LLAdvancedToggleWireframe : public view_listener_t bool handleEvent(const LLSD& userdata) { gUseWireframe = !(gUseWireframe); + LLPipeline::updateRenderDeferred(); + gPipeline.resetVertexBuffers(); return true; } }; |