Revert "Fix image file close issue"

This reverts commit d2648c74c7.
This commit is contained in:
SeanLin 2019-09-16 11:29:12 +08:00 committed by K. S. Ernest (iFire) Lee
parent 669985c64c
commit 6dd7ba25c8
1 changed files with 0 additions and 2 deletions

View File

@ -55,8 +55,6 @@ ImageProperties GetImageProperties(char const* filePath) {
if (success && channels == 4 && imageHasTransparentPixels(f)) {
result.occlusion = IMAGE_TRANSPARENT;
}
fclose(f);
return result;
}