diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-02-19 17:29:48 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-02-19 17:29:48 +0200 |
commit | 847fd636cd5c1ae63dabfa76c3d1d0df36ddb9fa (patch) | |
tree | 6c9dcef59ca8b809ee87d565524f0262580c7bec /indra/llrender/llfontvertexbuffer.h | |
parent | 483e85cbf31e08e3692d2fb267bdaacdd0ed38a4 (diff) | |
parent | 8c1f00eebc6863c39d0143aeb7e37c68459d454f (diff) |
Merge branch release/2025.03
# Conflicts:
# indra/newview/llmeshrepository.cpp
# indra/newview/llmeshrepository.h
Diffstat (limited to 'indra/llrender/llfontvertexbuffer.h')
-rw-r--r-- | indra/llrender/llfontvertexbuffer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llrender/llfontvertexbuffer.h b/indra/llrender/llfontvertexbuffer.h index af195dfff9..d5e1280dbf 100644 --- a/indra/llrender/llfontvertexbuffer.h +++ b/indra/llrender/llfontvertexbuffer.h @@ -117,8 +117,13 @@ private: F32 mLastScaleY = 1.f; F32 mLastVertDPI = 0.f; F32 mLastHorizDPI = 0.f; + S32 mLastResGeneration = 0; LLCoordGL mLastOrigin; + // Adding new characters to bitmap cache can alter value from getBitmapWidth(); + // which alters whole string. So rerender when new characters were added to cache. + S32 mLastFontGlyphCount = 0; + static bool sEnableBufferCollection; }; |