From a032f7e6b612e2f1ad0d774067fbb973091897ad Mon Sep 17 00:00:00 2001 From: rachytski Date: Thu, 22 Sep 2011 18:58:39 +0300 Subject: introduced VideoTimer, refactored rendering loop to use Timers, as on iOS. --- platform/video_timer.cpp | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 platform/video_timer.cpp (limited to 'platform/video_timer.cpp') diff --git a/platform/video_timer.cpp b/platform/video_timer.cpp new file mode 100644 index 0000000000..288534d04a --- /dev/null +++ b/platform/video_timer.cpp @@ -0,0 +1,4 @@ +#include "video_timer.hpp" + +VideoTimer::VideoTimer(TFrameFn fn) : m_frameFn(fn) +{} -- cgit v1.2.3