diff options
author | Kent Quirk <q@lindenlab.com> | 2010-11-09 15:18:41 -0500 |
---|---|---|
committer | Kent Quirk <q@lindenlab.com> | 2010-11-09 15:18:41 -0500 |
commit | dc59b268dc8f462b2b47de9cc6e2fa4473f7eeb9 (patch) | |
tree | eef23b1baf835851fb95606f54eddca4f43af6ac /indra/newview/llviewerwindow.cpp | |
parent | 451d115c1009ded2b2d74efefbe0611c62343eed (diff) |
SH-412 -- fix the way that redraws happen to eliminate flickering on resize -- patch from davep and seraph, I'm just applying it.
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index ebcb6e3738..761df557f5 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -1839,6 +1839,8 @@ void LLViewerWindow::reshape(S32 width, S32 height) return; } + gWindowResized = TRUE; + // update our window rectangle mWindowRectRaw.mRight = mWindowRectRaw.mLeft + width; mWindowRectRaw.mTop = mWindowRectRaw.mBottom + height; @@ -4415,6 +4417,7 @@ void LLViewerWindow::restoreGL(const std::string& progress_message) LLVOAvatar::restoreGL(); gResizeScreenTexture = TRUE; + gWindowResized = TRUE; if (isAgentAvatarValid() && !gAgentAvatarp->isUsingBakedTextures()) { |