mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 03:17:34 +00:00
Ports: Fix tuxracer port to use sdl12-compat instead of SDL2
This commit is contained in:
parent
d10071ce42
commit
f578247cdf
7 changed files with 131 additions and 459 deletions
|
@ -0,0 +1,27 @@
|
|||
From 99e0390e8974a0f0438fb95665edc910ef176883 Mon Sep 17 00:00:00 2001
|
||||
From: Grigoris Pavlakis <grigpavl@ece.auth.gr>
|
||||
Date: Mon, 30 May 2022 01:54:22 +0300
|
||||
Subject: [PATCH 3/3] Exit event loop on SDL_QUIT event
|
||||
|
||||
---
|
||||
src/winsys.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/winsys.c b/src/winsys.c
|
||||
index d932a1d..95eeefa 100644
|
||||
--- a/src/winsys.c
|
||||
+++ b/src/winsys.c
|
||||
@@ -392,6 +392,10 @@ void winsys_process_events()
|
||||
}
|
||||
|
||||
break;
|
||||
+
|
||||
+ case SDL_QUIT:
|
||||
+ winsys_exit( 0 );
|
||||
+ break;
|
||||
}
|
||||
|
||||
SDL_LockAudio();
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue