window refers to an SDL_Window*