Commit fffa9641 authored by Alexey Hohlov's avatar Alexey Hohlov
Browse files

Ликвидация утечки памяти при загрузке tga.

parent dbfa914f
......@@ -308,5 +308,6 @@ bool LoadCompressedTGA(Texture * texture, std::string filename, FILE * fTGA) /
while(currentpixel < pixelcount); // Loop while there are still pixels left
fclose(fTGA); // Close the file
return true; // return success
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment