//----------------------------------------------------------------------------// void OpenGLRendererBase::destroyTexture(const String& name) { TextureMap::iterator i = d_textures.find(name); if (d_textures.end() != i) { logTextureDestruction(name); CEGUI_DELETE_AO i->second; d_textures.erase(i); } }
//----------------------------------------------------------------------------// void DirectFBRenderer::destroyTexture(const CEGUI::String& name) { TextureMap::iterator i = d_textures.find(name); if (d_textures.end() != i) { logTextureDestruction(i->second); delete i->second; d_textures.erase(i); } }
//----------------------------------------------------------------------------// void NullRenderer::destroyTexture(const String& name) { TextureMap::iterator i = d_textures.find(name); if (d_textures.end() != i) { logTextureDestruction(name); delete i->second; d_textures.erase(i); } }