SDL 1.2.15 compatibility