Show
Ignore:
Timestamp:
08/09/10 16:54:17 (22 months ago)
Author:
Carsten
Message:

CaWE: Minor changes found in the course of implementing the first set of changes for the main objective (ticket #34).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/branches/cafu_to_wx/CaWE/ParentFrame.cpp

    r97 r112  
    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)