Author: lewing
Date: 2008-01-22 12:51:51 -0500 (Tue, 22 Jan 2008)
New Revision: 93556

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/clock.cpp
Log:
2008-01-22  Larry Ewing  <[EMAIL PROTECTED]>

        * clock.cpp: reduce delta to 1/100 of a second and fix a bug in
        previous commit.


Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2008-01-22 17:46:11 UTC (rev 93555)
+++ trunk/moon/src/ChangeLog    2008-01-22 17:51:51 UTC (rev 93556)
@@ -1,5 +1,10 @@
 2008-01-22  Larry Ewing  <[EMAIL PROTECTED]>
 
+       * clock.cpp: reduce delta to 1/100 of a second and fix a bug in
+       previous commit.
+
+2008-01-22  Larry Ewing  <[EMAIL PROTECTED]>
+
        * clock.cpp: Tweak clock timing and smoothing.  Increase timer
        priority so that ticks get deliver when we want them this doesn't
        change the smoothing calculation but it can raise the actual fps

Modified: trunk/moon/src/clock.cpp
===================================================================
--- trunk/moon/src/clock.cpp    2008-01-22 17:46:11 UTC (rev 93555)
+++ trunk/moon/src/clock.cpp    2008-01-22 17:51:51 UTC (rev 93556)
@@ -410,8 +410,8 @@
 
        //      printf ("new timeout is %dms (%.2ffps)\n", current_timeout, 
DELAY_TO_FPS (current_timeout));
        
-       if (ABS(suggested_timeout - current_timeout) > 20) {
-               source->SetTimerFrequency (current_timeout);
+       if (ABS(suggested_timeout - current_timeout) > 10) {
+               source->SetTimerFrequency (suggested_timeout);
                current_timeout = suggested_timeout;
        }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to