fix repeated texture allocation bug

This commit is contained in:
Eduardo Bart
2012-04-24 13:18:45 -03:00
parent 7526315d12
commit 9cf40d7f53
5 changed files with 21 additions and 16 deletions

View File

@@ -28,7 +28,7 @@
class TextureManager
{
public:
TexturePtr getTexture(const std::string& textureFile);
TexturePtr getTexture(const std::string& fileName);
static TexturePtr loadPNG(std::stringstream& file);