summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-05-02 10:30:48 +0200
committerGunnar Sletta <gunnar.sletta@digia.com>2013-05-02 12:40:13 +0200
commitdc64cf174b5c19be9be1bdc34ce58d28893e576b (patch)
tree59fdea2431b7f9225db161f905a26bbef003c8a5
parent627b40bc805aa02860024155a2de9c43583ed07c (diff)
Disable swap anim driver time warning
Change-Id: Idaaf4b402dd618c861e2cf48f1e6f31600d45297 Reviewed-by: aavit <eirik.aavitsland@digia.com>
-rw-r--r--customcontext/animation/swaplisteninganimationdriver.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/customcontext/animation/swaplisteninganimationdriver.cpp b/customcontext/animation/swaplisteninganimationdriver.cpp
index 977e6e0..a740ae8 100644
--- a/customcontext/animation/swaplisteninganimationdriver.cpp
+++ b/customcontext/animation/swaplisteninganimationdriver.cpp
@@ -107,11 +107,9 @@ void SwapListeningAnimationDriver::advance()
if (m_stableVsync > 0) {
m_currentTime += m_stableVsync;
if (m_currentTime + m_stableVsync < m_timer.elapsed()) {
-#ifdef CUSTOMCONTEXT_DEBUG
- qDebug(" --- Swap Animation Driver: compensated animationTime=%d, actualTime=%d",
- (int) m_currentTime,
- (int) m_timer.elapsed());
-#endif
+// qDebug(" --- Swap Animation Driver: compensated animationTime=%d, actualTime=%d",
+// (int) m_currentTime,
+// (int) m_timer.elapsed());
m_currentTime = qFloor((m_timer.elapsed() / m_stableVsync) + 1) * m_stableVsync;
}
} else {