libsdl-org / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
10.14k stars 1.85k forks source link

`SDL_SaveBMP` doesn't save alpha of `SDL_PIXELFORMAT_RGBA128_FLOAT` surface. #11483

Closed AntTheAlchemist closed 5 days ago

AntTheAlchemist commented 6 days ago

SDL_ISPIXELFORMAT_ALPHA(SDL_PIXELFORMAT_RGBA128_FLOAT) comes back false, so the BMP is saved as 24 bit, instead of 32 bit

slouken commented 5 days ago

Fixed, thanks!