devilutionX
devilutionX copied to clipboard
[Feature Request]: Upgrade SDL2-image
Feature Type
Other (please specify)
Describe
Current SDL2-image used from source for platforms that don't use system package (such as Android) is 2.0.5, which is 3 years old at this point
https://github.com/diasurgical/DevilutionX/blob/21fc5030fc65ed62410733f5a7cfa8544a312c62/3rdParty/SDL_image/CMakeLists.txt#L23
It also requires a workaround of IMG.c, which is no longer needed in recent versions, AFAIK
Are there any specific features of fixes that we would specifically benefit from?
- Native CMake support
- New SDL-image uses
stb_imageas a default backend for PNG and JPG, so we can droplibpngdependency - Updates to PNG decoding (example:
PNG images with a palette are loaded as SDL surfaces with a palettefrom 2.8.0)