Changeset 112
- Timestamp:
- 08/09/10 16:54:17 (18 months ago)
- Location:
- cafu/branches/cafu_to_wx/CaWE
- Files:
-
- 2 modified
-
AppCaWE.cpp (modified) (1 diff)
-
ParentFrame.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cafu/branches/cafu_to_wx/CaWE/AppCaWE.cpp
r109 r112 220 220 m_FileConfig=NULL; 221 221 222 // TODO: delete cf::FileSys::FileMan; // Shoud have cf::FileSys::FileMan=new cf::FileSys::FileManImplT; in OnInit().223 cf::FileSys::FileMan=NULL;224 225 222 ConsoleInterpreter=NULL; // This is very important, to make sure that no ConFuncT or ConVarT dtor accesses the ConsoleInterpreter that might already have been destroyed then. 226 223 -
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)
