Update for SDL 2