diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2011-09-22 19:58:39 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:24:16 +0300 |
commit | a032f7e6b612e2f1ad0d774067fbb973091897ad (patch) | |
tree | 0112898798f6189c27a71c97df3d45323a181d26 /platform/video_timer.cpp | |
parent | 11c675cd56f1ac7ddef3414bd000575fe2fd9cd9 (diff) |
introduced VideoTimer, refactored rendering loop to use Timers, as on iOS.
Diffstat (limited to 'platform/video_timer.cpp')
-rw-r--r-- | platform/video_timer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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) +{} |