From 086042316cc772a38b9b80b7f29ed7385b97621e Mon Sep 17 00:00:00 2001 From: perepujal Date: Wed, 18 May 2011 21:37:42 +0000 Subject: Tuxpaint was using all cpu, restoring a SDL_Delay() and setting to 1, Thanks Bill :) --- diff --git a/src/tuxpaint.c b/src/tuxpaint.c index c4b3d1a..6e127bc 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); } -- cgit v0.9.1