X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d6f6602d7cea3a7899990fe79216af7d98d05917..8f01a41693ff4b01a224e9ea2f9a26538ec20414:/lib/gdi/epng.cpp diff --git a/lib/gdi/epng.cpp b/lib/gdi/epng.cpp index 0d1072f8..9c12bb10 100644 --- a/lib/gdi/epng.cpp +++ b/lib/gdi/epng.cpp @@ -66,7 +66,7 @@ int loadPNG(ePtr &result, const char *filename) png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 0, 0, 0); -// eDebug("%s: %dx%dx%d png, %d", filename, (int)width, (int)height, (int)bit_depth, color_type); + eDebug("%s: %dx%dx%d png, %d", filename, (int)width, (int)height, (int)bit_depth, color_type); if (color_type != 6) { @@ -111,6 +111,7 @@ int loadPNG(ePtr &result, const char *filename) surface->clut.data=0; surface->clut.colors=0; } + surface->clut.start=0; png_read_end(png_ptr, end_info); } else result=0;