mirror of
https://github.com/glest/glest-source.git
synced 2025-09-01 04:01:47 +02:00
- properly cleanup models in g3dviewer to fix shutdown bug
This commit is contained in:
@@ -147,6 +147,7 @@ public:
|
||||
Texture2D * getNewTexture2D();
|
||||
|
||||
Model *newModel(ResourceScope rs,const string &path,bool deletePixMapAfterLoad=false,std::map<string,vector<pair<string, string> > > *loadedFileList=NULL, string *sourceLoader=NULL);
|
||||
void endModel(ResourceScope rs,Model *model);
|
||||
Texture2D *newTexture2D(ResourceScope rs) { return getNewTexture2D(); }
|
||||
|
||||
void initTextureManager();
|
||||
|
Reference in New Issue
Block a user