mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 22:15:32 +00:00
Fix runtime exceptions on MyGUI debug builds
This commit is contained in:
parent
87a089d6b6
commit
72686c32ae
1 changed files with 2 additions and 6 deletions
|
@ -523,12 +523,8 @@ void RenderManager::destroyAllResources()
|
||||||
|
|
||||||
bool RenderManager::checkTexture(MyGUI::ITexture* _texture)
|
bool RenderManager::checkTexture(MyGUI::ITexture* _texture)
|
||||||
{
|
{
|
||||||
for (MapTexture::const_iterator item = mTextures.begin(); item != mTextures.end(); ++item)
|
// We support external textures that aren't registered via this manager, so can't implement this method sensibly.
|
||||||
{
|
|
||||||
if (item->second == _texture)
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue