Porting to SDL2 in progress
Port to sdl2