OpenVR: Actually quit correctly if we get a close/quit message.

(cherry picked from commit a7ecd5f777)
This commit is contained in:
Rachel Blackman 2026-05-27 17:09:55 -07:00 committed by Sam Lantinga
parent 9fe4e5cc87
commit f6f1376cbd

View file

@ -1473,7 +1473,7 @@ static void OPENVR_PumpEvents(SDL_VideoDevice *_this)
break;
case EVREventType_VREvent_OverlayClosed:
case EVREventType_VREvent_Quit:
SDL_Quit();
SDL_SendQuit();
break;
}
}