attempt to make reloading fonts work again
This commit is contained in:
@@ -40,6 +40,8 @@ void FontManager::ReloadFonts()
|
|||||||
|
|
||||||
Font* FontManager::LoadFont( const RString &sFontOrTextureFilePath, RString sChars )
|
Font* FontManager::LoadFont( const RString &sFontOrTextureFilePath, RString sChars )
|
||||||
{
|
{
|
||||||
|
PruneFonts();
|
||||||
|
|
||||||
Font *pFont;
|
Font *pFont;
|
||||||
// Convert the path to lowercase so that we don't load duplicates.
|
// 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
|
// Really, this does not solve the duplicate problem. We could have two copies
|
||||||
|
|||||||
Reference in New Issue
Block a user