Removed debug code for font cache and text component.

This commit is contained in:
emb
2015-01-01 14:59:18 -06:00
parent 511c774ffc
commit 2e25dfa251
3 changed files with 0 additions and 11 deletions

View File

@@ -10,7 +10,6 @@
//todo: memory leak when launching games
FontCache::FontCache()
: IsInitialized(false)
{
}
@@ -21,7 +20,6 @@ FontCache::~FontCache()
void FontCache::DeInitialize()
{
IsInitialized = false;
std::map<std::string, Font *>::iterator it = FontFaceMap.begin();
while(it != FontFaceMap.end())
{
@@ -40,7 +38,6 @@ void FontCache::Initialize()
{
//todo: make bool
TTF_Init();
IsInitialized = true;
}
Font *FontCache::GetFont(std::string fontPath)
{