From a7ecd5f7771d46e1747473fe0252a035fbd54d24 Mon Sep 17 00:00:00 2001
From: Rachel Blackman <[EMAIL REDACTED]>
Date: Wed, 27 May 2026 17:09:55 -0700
Subject: [PATCH] OpenVR: Actually quit correctly if we get a close/quit
message.
---
src/video/openvr/SDL_openvrvideo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/video/openvr/SDL_openvrvideo.c b/src/video/openvr/SDL_openvrvideo.c
index 545e11b5fca81..a3afd4d50d9a1 100644
--- a/src/video/openvr/SDL_openvrvideo.c
+++ b/src/video/openvr/SDL_openvrvideo.c
@@ -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;
}
}