diff options
author | Kitty Barnett <develop@catznip.com> | 2022-08-29 00:00:31 +0200 |
---|---|---|
committer | Kitty Barnett <develop@catznip.com> | 2022-08-29 00:01:43 +0200 |
commit | bab70f6f152952ce755188d29bea1cfd8821a4be (patch) | |
tree | 164391dd9ecf0ef7df853ecb73c75db8e4a8545b /indra/llrender/llfontbitmapcache.h | |
parent | 5440464a9cbff6f64f79667ac026a7a1983b28b4 (diff) |
Review + resolve minor issues
Diffstat (limited to 'indra/llrender/llfontbitmapcache.h')
-rw-r--r-- | indra/llrender/llfontbitmapcache.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/llrender/llfontbitmapcache.h b/indra/llrender/llfontbitmapcache.h index 5d0094fd69..6b339e9afd 100644 --- a/indra/llrender/llfontbitmapcache.h +++ b/indra/llrender/llfontbitmapcache.h @@ -68,12 +68,12 @@ protected: static U32 getNumComponents(EFontGlyphType bitmap_type); private: - S32 mBitmapWidth; - S32 mBitmapHeight; - S32 mCurrentOffsetX[static_cast<U32>(EFontGlyphType::Count)]; - S32 mCurrentOffsetY[static_cast<U32>(EFontGlyphType::Count)]; - S32 mMaxCharWidth; - S32 mMaxCharHeight; + S32 mBitmapWidth = 0; + S32 mBitmapHeight = 0; + S32 mCurrentOffsetX[static_cast<U32>(EFontGlyphType::Count)] = { 1 }; + S32 mCurrentOffsetY[static_cast<U32>(EFontGlyphType::Count)] = { 1 }; + S32 mMaxCharWidth = 0; + S32 mMaxCharHeight = 0; std::vector<LLPointer<LLImageRaw>> mImageRawVec[static_cast<U32>(EFontGlyphType::Count)]; std::vector<LLPointer<LLImageGL>> mImageGLVec[static_cast<U32>(EFontGlyphType::Count)]; }; |