attempt to make reloading fonts work again

This commit is contained in:
AJ Kelly
2011-01-15 16:46:18 -06:00
parent 4165a2a205
commit 28299ae5fe
+2
View File
@@ -40,6 +40,8 @@ void FontManager::ReloadFonts()
Font* FontManager::LoadFont( const RString &sFontOrTextureFilePath, RString sChars )
{
PruneFonts();
Font *pFont;
// Convert the path to lowercase so that we don't load duplicates.
// Really, this does not solve the duplicate problem. We could have two copies