Updated for latest sdl2 variable changes.