support for SDL 1.2