Exemplo n.º 1
0
//----------------------------------------------------------------------------//
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);
    }
}
Exemplo n.º 2
0
//----------------------------------------------------------------------------//
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);
    }
}
Exemplo n.º 3
0
//----------------------------------------------------------------------------//
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);
    }
}