update for sdl_1.3