mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-21 09:31:33 -08:00
Discard outdated tracking data
This commit is contained in:
1 parent
10cd2a626b
commit
ffabc94aee
1 file changed
+4
@@ -115,7 +115,11 @@ public:
|
||||
}
|
||||
|
||||
if (before)
|
||||
{
|
||||
if (at_timestamp_ns > before->at_timestamp_ns + U_TIME_1S_IN_NS)
|
||||
return {};
|
||||
return {ex, *before};
|
||||
}
|
||||
|
||||
if (after)
|
||||
return {ex, *after};
|
||||
|
||||
Reference in new issue
Block a user