textureloader - png fix, SIGQUIT removed

This commit is contained in:
Henrique Santiago
2011-03-18 18:09:56 -03:00
parent c70e27494c
commit 3164d7e691
4 changed files with 13 additions and 15 deletions

View File

@@ -58,7 +58,7 @@ TexturePtr TextureManager::get(const std::string& textureFile)
if(!textureFileData)
return texture;
texture = TexturePtr(TextureLoader::loadPNG(textureFileData, fileSize));
texture = TexturePtr(TextureLoader::loadPNG(textureFileData));
if(!texture)
error("Unable to load texture %s, loading error.", textureFile.c_str());
delete[] textureFileData;