diff options
| author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2025-03-06 15:23:54 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-06 15:23:54 -0500 |
| commit | e6927d8a079f81522e7dde9b1c67035171f84c93 (patch) | |
| tree | a5335524e579d1ad478f1b723215673a55cc51dd /indra/llrender/llfontvertexbuffer.h | |
| parent | 5029f0322f264e17f7509952f7bf9812db17a9ec (diff) | |
| parent | 42ceac9695f7e098f15264977396a939c8ddfd23 (diff) | |
Merge pull request #3304 from secondlife/release/2024.12-ForeverFPS
2024.12 ForeverFPS
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..a9e1e2337c 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 mLastFontCacheGen = 0; + static bool sEnableBufferCollection; }; |
