From 3540173338d32e3e932defb8cae6d99e33d48e19 Mon Sep 17 00:00:00 2001 From: Pere Pujal i Carabantes Date: Wed, 18 May 2011 21:37:42 +0000 Subject: [PATCH] Tuxpaint was using all cpu, restoring a SDL_Delay() and setting to 1, Thanks Bill :) --- src/tuxpaint.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index c4b3d1a69..6e127bc96 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -5513,6 +5513,8 @@ static void mainloop(void) draw_blinking_cursor(); } } + + SDL_Delay(1); } while (!done); }