updated to SDL 2.0