diff options
author | Tobias Arrskog <topfs2@xbmc.org> | 2014-11-16 06:22:41 +0100 |
---|---|---|
committer | Tobias Arrskog <topfs2@xbmc.org> | 2014-11-16 06:22:41 +0100 |
commit | 2cd94380e3fe59003ffe7938dd3afa34ea10a5c6 (patch) | |
tree | 0586099db6f39a80328be223f7b88f7b81f28255 | |
parent | b3c20a2a7565669a2eb60c3050236156c1c91687 (diff) | |
parent | 6aefeb65094e033fc18772027b5409296174dd56 (diff) |
Merge pull request #5732 from FernetMenta/dr
fix incorrect display of fps when dr kicks in
-rw-r--r-- | xbmc/Application.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp index 48fa09b34f..415e4c267d 100644 --- a/xbmc/Application.cpp +++ b/xbmc/Application.cpp @@ -2326,10 +2326,11 @@ void CApplication::Render() if (frameTime < singleFrameTime) Sleep(singleFrameTime - frameTime); } - m_lastFrameTime = XbmcThreads::SystemClockMillis(); if (flip) g_graphicsContext.Flip(dirtyRegions); + + m_lastFrameTime = XbmcThreads::SystemClockMillis(); CTimeUtils::UpdateFrameTime(flip); g_renderManager.UpdateResolution(); |