Restore backwards compatibility with SDL 1.2.