mirror of
https://github.com/glest/glest-source.git
synced 2025-08-28 02:09:54 +02:00
- properly cleanup models in g3dviewer to fix shutdown bug
This commit is contained in:
@@ -200,6 +200,10 @@ Model * Renderer::newModel(ResourceScope rs,const string &path,bool deletePixMap
|
||||
return modelManager->newModel(path,deletePixMapAfterLoad,loadedFileList,sourceLoader);
|
||||
}
|
||||
|
||||
void Renderer::endModel(ResourceScope rs,Model *model) {
|
||||
modelManager->endModel(model);
|
||||
}
|
||||
|
||||
void Renderer::init() {
|
||||
assertGl();
|
||||
|
||||
|
Reference in New Issue
Block a user