diff options
author | Gunnar Sletta <gunnar.sletta@jollamobile.com> | 2015-04-01 14:45:30 +0200 |
---|---|---|
committer | Gunnar Sletta <gunnar@sletta.org> | 2015-04-16 06:01:45 +0000 |
commit | b3cbdf39683eca1c2ac2b3f70c06f24a7deccb1a (patch) | |
tree | 954294bbacf2c33d1daab7cd854c6443de89024e /src/quick/scenegraph/qsgcontext.cpp | |
parent | 37a76c2a0bd36ccb472fa36425a910d236cdda28 (diff) |
Make sure we have enough precision to run animations for years.
Task-number: QTBUG-45358
Change-Id: I4af0da937253f3ae578333c659dcbb132312a9cc
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/quick/scenegraph/qsgcontext.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgcontext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quick/scenegraph/qsgcontext.cpp b/src/quick/scenegraph/qsgcontext.cpp index 100861bfc1..dd071d757e 100644 --- a/src/quick/scenegraph/qsgcontext.cpp +++ b/src/quick/scenegraph/qsgcontext.cpp @@ -256,12 +256,12 @@ public: advanceAnimation(); } - float m_time; - float m_vsync; + double m_time; + double m_vsync; Mode m_mode; QElapsedTimer m_timer; QElapsedTimer m_wallTime; - float m_lag; + double m_lag; int m_bad; int m_good; }; |