From: havoc Date: Thu, 5 May 2011 11:49:33 +0000 (+0000) Subject: fix serious error in font caching X-Git-Tag: xonotic-v0.5.0~220 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=13f872f3ad810736ea7f597d72209e4131bf233b;p=xonotic%2Fdarkplaces.git fix serious error in font caching git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11106 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=1c86aa2d2f97679d7567dc3540657e5349f0e0ba --- diff --git a/ft2.c b/ft2.c index 726e5127..8e1b7a29 100644 --- a/ft2.c +++ b/ft2.c @@ -1211,7 +1211,7 @@ static qboolean Font_LoadMap(ft2_font_t *font, ft2_font_map_t *mapstart, Uchar _ // create a totally unique name for this map, then we will use it to make a unique cachepic_t to avoid redundant textures dpsnprintf(map_identifier, sizeof(map_identifier), - "%s_cache_%g_%d_%g_%g_%g_%g_%g_%u", + "%s_cache_%g_%g_%g_%g_%g_%g_%g_%u", font->name, mapstart->intSize, load_flags,