summaryrefslogtreecommitdiff
path: root/indra/llrender/llfontvertexbuffer.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-02-07 22:07:02 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-02-07 23:27:30 +0200
commit3a251b1b9e753589dd12e25236e77275c9010566 (patch)
tree694e012d5ea4662ba57f32c12fa5e86a3df0f56b /indra/llrender/llfontvertexbuffer.h
parent1924241f04699683e697f93388d634022d10aa32 (diff)
#3332 Switching screens can break text rendering
Diffstat (limited to 'indra/llrender/llfontvertexbuffer.h')
-rw-r--r--indra/llrender/llfontvertexbuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llrender/llfontvertexbuffer.h b/indra/llrender/llfontvertexbuffer.h
index af195dfff9..f244e7fefa 100644
--- a/indra/llrender/llfontvertexbuffer.h
+++ b/indra/llrender/llfontvertexbuffer.h
@@ -117,6 +117,7 @@ private:
F32 mLastScaleY = 1.f;
F32 mLastVertDPI = 0.f;
F32 mLastHorizDPI = 0.f;
+ S32 mLastResGeneration = 0;
LLCoordGL mLastOrigin;
static bool sEnableBufferCollection;