aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Blake <oak99sky@yahoo.co.uk>2021-05-01 15:57:46 +0100
committerGitHub <noreply@github.com>2021-05-01 15:57:46 +0100
commit6aeecb54d67b13b6f0652c833a00ebb45a3516a7 (patch)
tree1c19e4e7d017653b20c69ba4e5e26aa4c76b4ac3
parente250d0113b4c227a40b053efbd49d8db8aed00fa (diff)
parent7b25a38b7af69c148ec78386428c7bbadad296e5 (diff)
Merge pull request #19448 from fritsch/msc123m
WinSystemXLGL: Properly return msecs for GetVblankTiming
-rw-r--r--xbmc/windowing/X11/WinSystemX11GLContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/windowing/X11/WinSystemX11GLContext.cpp b/xbmc/windowing/X11/WinSystemX11GLContext.cpp
index e0b3bd8683..3e47f17c26 100644
--- a/xbmc/windowing/X11/WinSystemX11GLContext.cpp
+++ b/xbmc/windowing/X11/WinSystemX11GLContext.cpp
@@ -332,7 +332,7 @@ uint64_t CWinSystemX11GLContext::GetVblankTiming(uint64_t &msc, uint64_t &interv
if (m_pGLContext)
{
float micros = m_pGLContext->GetVblankTiming(msc, interval);
- return micros / 1000;
+ return micros;
}
msc = 0;
interval = 0;