changeset 55:c0a32c66e928 trunk

[svn] This commit builds on the second one, improving the accuracy of the dynamic limiter.
author nenolod
date Thu, 27 Oct 2005 16:58:54 -0700
parents 25e69f085ad9
children a087e00392e2
files Visualization/libvisual-proxy/main.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Visualization/libvisual-proxy/main.c	Thu Oct 27 16:49:50 2005 -0700
+++ b/Visualization/libvisual-proxy/main.c	Thu Oct 27 16:58:54 2005 -0700
@@ -498,7 +498,7 @@
 		idle_time = now - render_time;
 
 		if (idle_time < frame_length)
-			usleep(frame_length);
+			usleep(idle_time * 900);
 
 		sdl_event_handle ();