SDL_SaveBMP with ARGB8888 surfaces produce files unreadable by macOS


#1

Is that to be expected that a ARGB8888 format surface, saved using SDL_SaveBMP is not readable in macOS preview and when double-clicked on produces an error saying the file is corrupt?

The same files preview and load correctly on Windows 10.

It’s actually not a problem for me, because I am only using this for some local caching of some images between app executions and SDL_LoadBMP reads them up just fine inside my app, I’m just mentioning it in case it’s a bug that needs fixing.

Perhaps it’s a bug in macOS Mojave’s bitmap support.