diff options
Diffstat (limited to 'src/fontcache.cpp')
-rw-r--r-- | src/fontcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp index d35419597..bed9bc4b0 100644 --- a/src/fontcache.cpp +++ b/src/fontcache.cpp @@ -1152,7 +1152,7 @@ const Sprite *GetGlyph(FontSize size, WChar key) if (width > 256 || height > 256) usererror("Font glyph is too large"); /* FreeType has rendered the glyph, now we allocate a sprite and copy the image into it */ - sprite.AllocateData(width * height); + sprite.AllocateData(ZOOM_LVL_NORMAL, width * height); sprite.type = ST_FONT; sprite.width = width; sprite.height = height; |