fix unused variable in _window_sdl2