summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-11-16 16:18:59 -0800
committerSteve Bennetts <steve@lindenlab.com>2009-11-16 16:18:59 -0800
commit32fd8fa0874abc39bbe0f16f8eb5723bd83afb41 (patch)
treec1b8436a4868d6388231e202acc4df356f811d2f /indra
parent63192ae2b9cb767b683672bba9a057dc4fb1ee10 (diff)
EXT-2110 - Help -> Abuse Report produces noticeable 3-10 second hang
Only happens with small windows because of some code that does font resizing on high res. Changed the scale factor threshold to cover vast majority of cases.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewerwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 90a79698f6..bb57226050 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -3944,7 +3944,7 @@ BOOL LLViewerWindow::rawSnapshot(LLImageRaw *raw, S32 image_width, S32 image_hei
return FALSE ;
}
- BOOL high_res = scale_factor > 1.f;
+ BOOL high_res = scale_factor >= 2.f; // Font scaling is slow, only do so if rez is much higher
if (high_res)
{
send_agent_pause();