Sam,
I have a quick question re: surface->pixels. Is that pointer guaranteed
to have any particular alignment?
It has whatever alignment is given by “malloc()” for memory pointers,
and is almost assuredly word-aligned.
-Sam Lantinga (slouken at devolution.com)