remove a sdl2 function