diff options
author | Dave Parks <davep@lindenlab.com> | 2012-03-22 17:48:24 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-03-22 17:48:24 -0500 |
commit | ae94c0fcad2eaf94196619aa7ff5cbfc4a936534 (patch) | |
tree | ec95fe08f3583dec234c02988650be3ceb75ae45 | |
parent | 364d6a1f1c592921389f7e04a19082d351f57c80 (diff) |
MAINT-810 Fix for crash in LLRenderTarget when exiting wireframe render mode after resizing window.
-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 7a873974eb..245095d614 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -88,6 +88,7 @@ #include "lltoolpie.h" #include "lltoolselectland.h" #include "lltrans.h" +#include "llviewerdisplay.h" //for gWindowResized #include "llviewergenericmessage.h" #include "llviewerhelp.h" #include "llviewermenufile.h" // init_menu_file() @@ -1113,6 +1114,7 @@ class LLAdvancedToggleWireframe : public view_listener_t bool handleEvent(const LLSD& userdata) { gUseWireframe = !(gUseWireframe); + gWindowResized = TRUE; LLPipeline::updateRenderDeferred(); gPipeline.resetVertexBuffers(); return true; |