Porting to SDL2.