Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorperepujal <perepujal>2011-05-18 21:37:42 (GMT)
committer perepujal <perepujal>2011-05-18 21:37:42 (GMT)
commit086042316cc772a38b9b80b7f29ed7385b97621e (patch)
tree4b6695d0df397b6410fdd51acae0048afce4754f
parenta3508fd1913ee717347f6499b8653baa9af9c051 (diff)
Tuxpaint was using all cpu, restoring a SDL_Delay() and setting to 1, Thanks Bill :)
-rw-r--r--src/tuxpaint.c2
1 files changed, 2 insertions, 0 deletions
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);
}