summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerwindow.h')
-rw-r--r--indra/newview/llviewerwindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.h b/indra/newview/llviewerwindow.h
index c2906b1718..b7f2b91c52 100644
--- a/indra/newview/llviewerwindow.h
+++ b/indra/newview/llviewerwindow.h
@@ -212,8 +212,9 @@ public:
// Window in raw pixels as seen on screen.
const LLRect& getWindowRect() const { return mWindowRect; };
- // portion of window that shows 3d world
+ // portion of window that shows 3d world, in raw unscaled pixels
const LLRect& getWorldViewRect() const { return mWorldViewRect; };
+ // Use this rect for most UI computations, it accounts for UI size scaling
LLRect getVirtualWorldViewRect() const;
S32 getWorldViewHeight() const;
S32 getWorldViewWidth() const;