Fix runtime exceptions on MyGUI debug builds

c++11
scrawl 10 years ago
parent 87a089d6b6
commit 72686c32ae

@ -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)
// We support external textures that aren't registered via this manager, so can't implement this method sensibly.
return true;
}
return false;
}
}

Loading…
Cancel
Save