Bugfix: changing the resolution would cause a crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
17a2074f1a
commit
ffdfc83dcd
@ -103,7 +103,7 @@ void ItemManager::removeTextures()
|
||||
|
||||
for(CI_type i=m_all_models.begin(); i!=m_all_models.end(); ++i)
|
||||
{
|
||||
ssgDeRefDelete(i->second);
|
||||
i->second->deRef();
|
||||
}
|
||||
m_all_models.clear();
|
||||
callback_manager->clear(CB_ITEM);
|
||||
|
Loading…
Reference in New Issue
Block a user