Updated to the SDL 2.0.2 API