diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-11-29 11:46:51 +0200 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-11-29 11:46:51 +0200 |
commit | d91584ed708e87be1906a23772c56b31a34164dc (patch) | |
tree | 7432c5cc6fb837c83cad2cfccdc68a09f58190f3 | |
parent | e3b232a0eca28c3ba99ff0d470f0b0b98d44efeb (diff) |
MAINT-6936 Black screen following toggle to wireframe in photo dialogue.
-rw-r--r-- | indra/newview/llviewermenu.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 74e1b865d8..c45233c638 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -1212,14 +1212,15 @@ class LLAdvancedToggleWireframe : public view_listener_t bool handleEvent(const LLSD& userdata) { gUseWireframe = !(gUseWireframe); + gWindowResized = TRUE; + + LLPipeline::updateRenderDeferred(); if (gUseWireframe) { gInitialDeferredModeForWireframe = LLPipeline::sRenderDeferred; } - gWindowResized = TRUE; - LLPipeline::updateRenderDeferred(); gPipeline.resetVertexBuffers(); if (!gUseWireframe && !gInitialDeferredModeForWireframe && LLPipeline::sRenderDeferred != gInitialDeferredModeForWireframe && gPipeline.isInit()) |