This commit is contained in:
Pawel Kolodziejski
2009-04-07 12:15:12 +00:00
parent b3474c4f11
commit 324f978e2f
2 changed files with 10 additions and 18 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ void TextObject::createBitmap() {
}
_textBitmap = new uint8[_font->getHeight() * (_bitmapWidthPtr[j] + 1)];
memset(_textBitmap, 0, _font->getHeight() * (_bitmapWidthPtr[j] + 1));
memset(_textBitmap, 0xff, _font->getHeight() * (_bitmapWidthPtr[j] + 1));
// Fill bitmap
int startOffset = 0;