- added the ability to track pixmap memory usage at start and end of a game

This commit is contained in:
Mark Vejvoda
2010-10-28 21:06:20 +00:00
parent 5cf0313c5a
commit 01c26b4224
6 changed files with 29 additions and 4 deletions

View File

@@ -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;
}
}
}