Use max zlib compression.

This commit is contained in:
Themaister 2013-01-31 15:43:11 +01:00
parent 47028c2529
commit 6bd2eb3b6e
1 changed files with 1 additions and 1 deletions

View File

@ -692,7 +692,7 @@ static bool rpng_save_image(const char *path, const uint8_t *data,
stream.next_out = deflate_buf + 8;
stream.avail_out = encode_buf_size * 2;
deflateInit(&stream, 2);
deflateInit(&stream, 9);
if (deflate(&stream, Z_FINISH) != Z_STREAM_END)
{
deflateEnd(&stream);