ref: 4b74fc816bf1043f18782729e662f8255fe4502c
parent: 0a8f122f72113c7e3ef20956b5fa23f69af889ad
author: qwx <>
date: Thu Jul 13 02:28:33 EDT 2017
wl3d: fix long frames timing botch
--- a/wl3d.c
+++ b/wl3d.c
@@ -295,8 +295,10 @@
tc = (t - t0) / Td;
if(tc <= 0)
tc = 1;
- else if(tc > 10)
+ else if(tc > 10){
+ t0 += (vlong)(tc - 10) * Td;
tc = 10;
+ }
Δtc = tc;
t0 += tc * Td;
dt = (t0 - t) / Te6;