diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-29 16:01:01 -0800 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-29 16:01:01 -0800 |
commit | 682f8afcc073b62fed64a3fd2adc5f65793e1f3e (patch) | |
tree | 8237aadf55fb86760ad272d6b3a4f8095ca6a525 /indra/llrender | |
parent | 525569825f38a5d601c7151d46a638f31bf0658f (diff) |
CID-296
Checker: UNINIT_CTOR
Function: LLFontGlyphInfo::LLFontGlyphInfo(unsigned int)
File: /indra/llrender/llfontfreetype.cpp
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llfontfreetype.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/llrender/llfontfreetype.cpp b/indra/llrender/llfontfreetype.cpp index 9f7f3b2c67..59e7d890f4 100644 --- a/indra/llrender/llfontfreetype.cpp +++ b/indra/llrender/llfontfreetype.cpp @@ -91,14 +91,15 @@ LLFontManager::~LLFontManager() LLFontGlyphInfo::LLFontGlyphInfo(U32 index) : mGlyphIndex(index), + mWidth(0), // In pixels + mHeight(0), // In pixels + mXAdvance(0.f), // In pixels + mYAdvance(0.f), // In pixels mXBitmapOffset(0), // Offset to the origin in the bitmap mYBitmapOffset(0), // Offset to the origin in the bitmap mXBearing(0), // Distance from baseline to left in pixels mYBearing(0), // Distance from baseline to top in pixels - mWidth(0), // In pixels - mHeight(0), // In pixels - mXAdvance(0.f), // In pixels - mYAdvance(0.f) // In pixels + mBitmapNum(0) // Which bitmap in the bitmap cache contains this glyph { } |