Commented assumption was incorrect, using tickCountToMillis causes underflow when compared to current time.
This commit is contained in:
parent
792e145c22
commit
50558416b9
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue