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

This commit is contained in:
Rachel Blackman 2026-05-27 17:09:55 -07:00 committed by Sam Lantinga
parent 8c0add4351
commit a7ecd5f777

View file

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