remove unnecessary frame loops

This commit is contained in:
ww-rm
2025-10-19 20:46:42 +08:00
committed by GitHub
parent 6a17ec0397
commit d335645dc1

View File

@@ -181,16 +181,7 @@ options:
if (warmup) if (warmup)
{ {
float delta = 1f / fps; sp.Update(trackEntry.Animation.Duration * warmUpLoops);
for (int i = 0; i < warmUpLoops; i++)
{
float t = 0;
while (t < trackEntry.Animation.Duration)
{
sp.Update(delta);
t += delta;
}
}
} }
foreach (var slotName in hideSlots) foreach (var slotName in hideSlots)
@@ -370,4 +361,4 @@ options:
return new(x, y, w, h); return new(x, y, w, h);
} }
} }
} }