aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl.c b/sdl.c
index 03d3ab887a..178b5532b8 100644
--- a/sdl.c
+++ b/sdl.c
@@ -753,7 +753,7 @@ static void sdl_cleanup(void)
{
if (guest_sprite)
SDL_FreeCursor(guest_sprite);
- SDL_Quit();
+ SDL_QuitSubSystem(SDL_INIT_VIDEO);
}
void sdl_display_init(DisplayState *ds, int full_screen, int no_frame)