summaryrefslogtreecommitdiff
path: root/indra/llrender/llfontvertexbuffer.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-02-24 17:22:54 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-02-24 19:31:16 +0200
commit5b968b7209d5e104e4b6152b8fc0fbbb37d1674a (patch)
treebedb48845bd2223e2a91303038f10bf25c4d0d64 /indra/llrender/llfontvertexbuffer.h
parentb2e3159ce76b7aeafd3b083fa34b76d002a85a2b (diff)
#3332 Remake glyph count into cache generation
1. Cover reset with 'generation' 2. Fix lapse of judgement with mLastFontGlyphCount, it should have been saved before render(), not after
Diffstat (limited to 'indra/llrender/llfontvertexbuffer.h')
-rw-r--r--indra/llrender/llfontvertexbuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llfontvertexbuffer.h b/indra/llrender/llfontvertexbuffer.h
index d5e1280dbf..a9e1e2337c 100644
--- a/indra/llrender/llfontvertexbuffer.h
+++ b/indra/llrender/llfontvertexbuffer.h
@@ -122,7 +122,7 @@ private:
// 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;
+ S32 mLastFontCacheGen = 0;
static bool sEnableBufferCollection;
};