texture size status printout

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@388 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
psperl
2007-09-03 19:07:04 +00:00
parent 85e46e522a
commit 6336014f54
3 changed files with 10 additions and 2 deletions

View File

@ -36,3 +36,8 @@ GLuint TextureManager::getTexture(const std::string imageUrl)
std::string fullUrl = presetURL + "/" + imageUrl;
return LoadTexture(fullUrl.c_str());
}
unsigned int TextureManager::getTextureMemorySize()
{
return GetTotalTextureSize();
}