mirror of
https://github.com/Zenithsiz/zsw.git
synced 2026-02-03 09:50:31 +00:00
Late frames are now logged at TRACE level.
This commit is contained in:
parent
7fdc2e2f27
commit
50c7dc44e6
@ -364,7 +364,7 @@ async fn renderer(
|
||||
{
|
||||
#[expect(clippy::cast_sign_loss, reason = "Durations are always positive")]
|
||||
let frames = late.div_duration_f64(frame_duration).floor() as u32;
|
||||
tracing::debug!("Frame rendered late {late:.2?}, skipping {frames} frames");
|
||||
tracing::trace!("Frame rendered late {late:.2?}, skipping {frames} frames");
|
||||
next_frame += frame_duration * frames;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user