summaryrefslogtreecommitdiff
path: root/indra/llrender/llfontvertexbuffer.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-10-25 21:48:51 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-10-28 16:47:19 +0200
commitb1fb2fba7078fe1b1f2fec9b57561f37d51f599a (patch)
tree16069dcec522111586b42f01c929a6838437ba55 /indra/llrender/llfontvertexbuffer.h
parent05858ee68bc9bc3fd04c5f593c37f21b1c68a7ac (diff)
viewer#2883 Account for DPI changes
Diffstat (limited to 'indra/llrender/llfontvertexbuffer.h')
-rw-r--r--indra/llrender/llfontvertexbuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llfontvertexbuffer.h b/indra/llrender/llfontvertexbuffer.h
index 59cb536b74..af195dfff9 100644
--- a/indra/llrender/llfontvertexbuffer.h
+++ b/indra/llrender/llfontvertexbuffer.h
@@ -115,6 +115,8 @@ private:
// LLFontGL's statics
F32 mLastScaleX = 1.f;
F32 mLastScaleY = 1.f;
+ F32 mLastVertDPI = 0.f;
+ F32 mLastHorizDPI = 0.f;
LLCoordGL mLastOrigin;
static bool sEnableBufferCollection;