1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-30 07:21:12 +00:00

Fix runtime exceptions on MyGUI debug builds

This commit is contained in:
scrawl 2015-07-10 03:03:17 +02:00
parent 87a089d6b6
commit 72686c32ae

View File

@ -523,12 +523,8 @@ void RenderManager::destroyAllResources()
bool RenderManager::checkTexture(MyGUI::ITexture* _texture)
{
for (MapTexture::const_iterator item = mTextures.begin(); item != mTextures.end(); ++item)
{
if (item->second == _texture)
return true;
}
return false;
// We support external textures that aren't registered via this manager, so can't implement this method sensibly.
return true;
}
}