still need to migrate sdl 1.2 to sdl2 calls