sdlcl
sdlcl copied to clipboard
OSX: bitmap issues
There seems to be a few issues with bitmap graphics on Mac OS X.
The testbitmap application bundled with SDL 1.2:
SDL 1.2:

SDLCL:

The testalpha application bundled with SDL 1.2:
SDL 1.2:
SDLCL:

These bugs are not OS X specific. They also happen on Linux. Disabling the alpha channel on the display surface (e73f5a103f35f407dc7bc538131a44c41933b888) fixes the testalpha bug. The testbitmap bug is a weird one though. In my testing, both the simulated SDL 1.2 surface, and the real SDL 2.0 surface have a pitch of 0. It's looking likely that it is a bug in SDL 2.0, but looking at its code, I don't see how it's happening.