mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 07:57:12 +01:00
textureloader - png fix, SIGQUIT removed
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user