2013-09-26 17:14:40 +02:00

15 lines
492 B
Plaintext

$NetBSD: patch-ad,v 1.5 2007/03/24 20:10:08 adam Exp $
--- linux/sw_draw.c.orig 2007-01-18 17:52:16.000000000 +0100
+++ linux/sw_draw.c
@@ -139,6 +139,9 @@ extern unsigned char prevKeep4_3Ratio;
void sw_drawwin()
{
+#ifdef _PTH_PTHREAD_H_
+ pthread_yield_np();
+#endif
NGNoTransp = 0; // Set this value to 1 within the appropriate
// video mode if you want to add a custom
// transparency routine or hardware