summaryrefslogtreecommitdiff
path: root/games/falcons-eye/patches/patch-bd
blob: 9414995718fd84c81244bc401338d0e25bce2bc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-bd,v 1.1.1.1 2002/01/21 11:56:17 pooka Exp $

--- win/jtp/jtp_sdl.c.orig	Mon Jul  2 07:05:50 2001
+++ win/jtp/jtp_sdl.c
@@ -405,6 +405,9 @@
 {
   SDL_Event cur_event;
 
+  /* give the SDL audio thread a chance */
+  pthread_yield_np();
+
   /* Process any waiting messages */
   jtp_sdl_polled_message_arrived = JTP_SDL_POLLED_MESSAGE_NOT_ARRIVED;
   while (SDL_PollEvent(&cur_event))