gypified version of SDL2