Fixed incorrect vsync delta time in QSGThreadedRenderLoop.
authorYoann Lopes <yoann.lopes@digia.com>
Fri, 8 Mar 2013 13:28:21 +0000 (14:28 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 12 Mar 2013 13:25:37 +0000 (14:25 +0100)
Change-Id: I32bb720e9c9aa0278959dd64e5e1c449bdace7d1
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
src/quick/scenegraph/qsgthreadedrenderloop.cpp

index 55b27dc..95409a0 100644 (file)
@@ -296,7 +296,7 @@ public:
         , stopEventProcessing(false)
     {
         sg->moveToThread(this);
-        vsyncDelta = QGuiApplication::primaryScreen()->refreshRate();
+        vsyncDelta = qsgrl_animation_interval();
     }