mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Minor bug fix.
--HG-- branch : dev-font
This commit is contained in:
@@ -633,7 +633,7 @@ FontTrueType::Page::Page() :
|
||||
}
|
||||
|
||||
FontTrueType::Page::~Page() {
|
||||
if ( NULL != texture )
|
||||
if ( NULL != texture && TextureFactory::existsSingleton() )
|
||||
TextureFactory::instance()->remove( texture->getId() );
|
||||
}
|
||||
|
||||
|
||||
@@ -53,12 +53,12 @@ Engine::~Engine() {
|
||||
|
||||
GlobalBatchRenderer::destroySingleton();
|
||||
|
||||
TextureFactory::destroySingleton();
|
||||
|
||||
TextureAtlasManager::destroySingleton();
|
||||
|
||||
FontManager::destroySingleton();
|
||||
|
||||
TextureFactory::destroySingleton();
|
||||
|
||||
UI::UIManager::destroySingleton();
|
||||
|
||||
Graphics::cGL::destroySingleton();
|
||||
|
||||
Reference in New Issue
Block a user