Changeset 112 for cafu/branches/cafu_to_wx/CaWE/ParentFrame.cpp
- Timestamp:
- 08/09/10 16:54:17 (22 months ago)
- Files:
-
- 1 modified
-
cafu/branches/cafu_to_wx/CaWE/ParentFrame.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cafu/branches/cafu_to_wx/CaWE/ParentFrame.cpp
r97 r112 194 194 195 195 // 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 } 198 201 199 202 if (MatSys::Renderer!=NULL)
