Updated from sdl to sdl2