diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index a289a0eb7a8670bf0e90f4888b00fc4c7ad14324..40bf62acc92a345711d8fb41943c26a806965111 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; } };