cargo fmt
This commit is contained in:
parent
5e9ea93819
commit
b6c5d00bec
17 changed files with 264 additions and 277 deletions
|
|
@ -141,9 +141,7 @@ impl Timings {
|
|||
if let Some(frame) = self.pending_frame.as_mut() {
|
||||
frame.render_duration_draw = Some(
|
||||
Time::elapsed(&frame.render_start, clock.now())
|
||||
- frame
|
||||
.render_duration_elements
|
||||
.unwrap_or(Duration::ZERO),
|
||||
- frame.render_duration_elements.unwrap_or(Duration::ZERO),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue