Remove LODEPNG_NO_COMPILE_ZLIB

This fixes a segfault, because we would then pass compressed image data
to SDL_ConvertSurfaceFormat() in LoadImage(). I didn't test my previous
PR. Whoops.
This commit is contained in:
Misa authored and Ethan Lee committed 2021-01-14 06:31:30 -05:00
1 parent 9c9433d21a
commit 74740c5a21
1 file changed
-1
-1
View File
@@ -242,7 +242,6 @@ TARGET_COMPILE_DEFINITIONS(lodepng-static PRIVATE
-DLODEPNG_NO_COMPILE_ALLOCATORS
-DLODEPNG_NO_COMPILE_DISK
-DLODEPNG_NO_COMPILE_ENCODER
-DLODEPNG_NO_COMPILE_ZLIB
)
# Static Dependencies