diff --git a/project/src/graphics/PNG.cpp b/project/src/graphics/PNG.cpp index 4a6ac9f3b..af634115a 100644 --- a/project/src/graphics/PNG.cpp +++ b/project/src/graphics/PNG.cpp @@ -88,13 +88,17 @@ namespace lime { if (!file) return false; // verify the PNG signature - /*int read = lime::fread (png_sig, PNG_SIG_SIZE, 1, file); + int read = lime::fread (png_sig, PNG_SIG_SIZE, 1, file); if (png_sig_cmp (png_sig, 0, PNG_SIG_SIZE)) { lime::fclose (file); return false; - }*/ + } else { + + lime::fseek (file, 0, 0); + + } } else {