mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 15:11:20 +02:00
- added the ability to track pixmap memory usage at start and end of a game
This commit is contained in:
@@ -81,6 +81,7 @@ void Mesh::end() {
|
||||
if(texturesOwned[i] == true && textures[i] != NULL) {
|
||||
//printf("Deleting Texture [%s] i = %d\n",textures[i]->getPath().c_str(),i);
|
||||
textureManager->endTexture(textures[i]);
|
||||
textures[i] = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user