gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/gui NullGui.cpp


From: Markus Gothe
Subject: [Gnash-commit] gnash/gui NullGui.cpp
Date: Fri, 06 Jul 2007 01:10:04 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  07/07/06 01:10:04

Modified files:
        gui            : NullGui.cpp 

Log message:
        I realised we wanted somethng more like this

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/NullGui.cpp?cvsroot=gnash&r1=1.14&r2=1.15

Patches:
Index: NullGui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/NullGui.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- NullGui.cpp 6 Jul 2007 00:19:58 -0000       1.14
+++ NullGui.cpp 6 Jul 2007 01:10:04 -0000       1.15
@@ -43,7 +43,7 @@
 NullGui::run()
 {
   uint64_t prevtimer=0;
-  uint64_t start_timer = time_duration::ticks_per_second();  // returns 
milliseconds, maybe even ns...
+  uint64_t start_timer = 
((microsec_clock::local_time()).time_of_day()).total_milliseconds();  // 
returns milliseconds
 
   prevtimer = start_timer;
 
@@ -57,7 +57,7 @@
     while (1) 
     {
         
-      timer = time_duration::ticks_per_second();
+      timer = 
((microsec_clock::local_time()).time_of_day()).total_milliseconds();
             
       if (timer - prevtimer >= _interval)
         break; // next frame, please!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]