summaryrefslogtreecommitdiff
path: root/indra/llrender/llfontbitmapcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llrender/llfontbitmapcache.cpp')
-rw-r--r--indra/llrender/llfontbitmapcache.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/indra/llrender/llfontbitmapcache.cpp b/indra/llrender/llfontbitmapcache.cpp
index 052510e6ed..f01878642a 100644
--- a/indra/llrender/llfontbitmapcache.cpp
+++ b/indra/llrender/llfontbitmapcache.cpp
@@ -37,13 +37,13 @@
LLFontBitmapCache::LLFontBitmapCache():
mNumComponents(0),
- mMaxCharWidth(0),
- mMaxCharHeight(0),
mBitmapWidth(0),
mBitmapHeight(0),
+ mBitmapNum(-1),
+ mMaxCharWidth(0),
+ mMaxCharHeight(0),
mCurrentOffsetX(1),
- mCurrentOffsetY(1),
- mCurrentBitmapNum(-1)
+ mCurrentOffsetY(1)
{
}
@@ -160,10 +160,10 @@ void LLFontBitmapCache::reset()
mImageRawVec.clear();
mImageGLVec.clear();
- mBitmapWidth = 0,
- mBitmapHeight = 0,
- mCurrentOffsetX = 0,
- mCurrentOffsetY = 0,
- mCurrentBitmapNum = -1;
+ mBitmapWidth = 0;
+ mBitmapHeight = 0;
+ mBitmapNum = -1;
+ mCurrentOffsetX = 1;
+ mCurrentOffsetY = 1;
}