aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@digia.com>2013-03-08 14:28:21 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-12 14:25:37 +0100
commit856bb2908e42e874e7340f414e9decbe972f8793 (patch)
tree8f9bb627c6c19c043cc961246d6b45d4acd0f4c2 /src/quick
parentf9bf67af85728f5207b02a3f99d950af83020bc3 (diff)
Fixed incorrect vsync delta time in QSGThreadedRenderLoop.
Change-Id: I32bb720e9c9aa0278959dd64e5e1c449bdace7d1 Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'src/quick')
-rw-r--r--src/quick/scenegraph/qsgthreadedrenderloop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgthreadedrenderloop.cpp b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
index 55b27dc151..95409a04f7 100644
--- a/src/quick/scenegraph/qsgthreadedrenderloop.cpp
+++ b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
@@ -296,7 +296,7 @@ public:
, stopEventProcessing(false)
{
sg->moveToThread(this);
- vsyncDelta = QGuiApplication::primaryScreen()->refreshRate();
+ vsyncDelta = qsgrl_animation_interval();
}