Show
Ignore:
Timestamp:
08/27/10 11:30:01 (21 months ago)
Author:
Carsten
Message:

Reintegrated branches/cafu_to_wx back into trunk!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/trunk/CaWE/ParentFrame.cpp

    r97 r136  
    194194 
    195195    // Release the Cafu Material System. 
    196     MatSys::TextureMapManager->FreeTextureMap(m_WhiteTexture); 
    197     MatSys::TextureMapManager=NULL; 
     196    if (MatSys::TextureMapManager!=NULL) 
     197    { 
     198        MatSys::TextureMapManager->FreeTextureMap(m_WhiteTexture); 
     199        MatSys::TextureMapManager=NULL; 
     200    } 
    198201 
    199202    if (MatSys::Renderer!=NULL)