From 50558416b93b5bb83a62f2f9b25a5bc6bf328d98 Mon Sep 17 00:00:00 2001 From: Nicholas Rishel Date: Thu, 22 Oct 2020 17:50:51 -0700 Subject: Commented assumption was incorrect, using tickCountToMillis causes underflow when compared to current time. --- intern/ghost/intern/GHOST_WindowWin32.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'intern') diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp index d9b5a9f8b65..381b1198f7e 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.cpp +++ b/intern/ghost/intern/GHOST_WindowWin32.cpp @@ -1382,8 +1382,7 @@ GHOST_TSuccess GHOST_WindowWin32::getWintabInfo(std::vectortickCountToMillis(pkt.pkTime); + outWintabInfo[i].time = system->millisSinceStart(pkt.pkTime); outWintabInfo[i].tabletData = tabletData; } -- cgit v1.2.3