Commented assumption was incorrect, using tickCountToMillis causes underflow when compared to current time.

This commit is contained in:
Nicholas Rishel 2020-10-22 17:50:51 -07:00
parent 792e145c22
commit 50558416b9
1 changed files with 1 additions and 2 deletions

View File

@ -1382,8 +1382,7 @@ GHOST_TSuccess GHOST_WindowWin32::getWintabInfo(std::vector<GHOST_WintabInfoWin3
m_wintab.sysButtonsPressed = pkt.pkButtons;
/* Wintab does not support performance counters, so use low frequency counter instead. */
outWintabInfo[i].time = system->tickCountToMillis(pkt.pkTime);
outWintabInfo[i].time = system->millisSinceStart(pkt.pkTime);
outWintabInfo[i].tabletData = tabletData;
}