# HG changeset patch # User nenolod # Date 1162594495 28800 # Node ID 57ec651ac031de76879edfcfcf48a7c358264434 # Parent bcdd1cce1a0fb56e4ea07f36c08063aed1184f0e [svn] - yield back to the scheduler after processing a frame (maybe this will make paranormal be nicer.) diff -r bcdd1cce1a0f -r 57ec651ac031 ChangeLog --- a/ChangeLog Fri Nov 03 14:23:17 2006 -0800 +++ b/ChangeLog Fri Nov 03 14:54:55 2006 -0800 @@ -1,3 +1,16 @@ +2006-11-03 22:23:17 +0000 Kiyoshi Aman + revision [408] + + Mmm..Blood....--This line, and those below, will be ignored-- + + A presets/aerdan_-_bloody_vortex.pnv + M presets/Makefile + + trunk/src/paranormal/presets/Makefile | 3 - + trunk/src/paranormal/presets/aerdan_-_bloody_vortex.pnv | 33 ++++++++++++++++ + 2 files changed, 35 insertions(+), 1 deletion(-) + + 2006-11-03 21:52:09 +0000 William Pitcock revision [406] - include drawing.h diff -r bcdd1cce1a0f -r 57ec651ac031 src/paranormal/plugin.c --- a/src/paranormal/plugin.c Fri Nov 03 14:23:17 2006 -0800 +++ b/src/paranormal/plugin.c Fri Nov 03 14:54:55 2006 -0800 @@ -14,6 +14,7 @@ #include #include #include +#include #include #include @@ -150,6 +151,10 @@ SDL_mutexP (config_mutex); pn_render (); SDL_mutexV (config_mutex); + +#ifdef _POSIX_PRIORITY_SCHEDULING + sched_yield(); +#endif } /* Just in case a pn_quit () was called in the loop */