$NetBSD$

--- 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
