Skip to content

Commit

Permalink
glium: Display rendering time correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dcz-self committed Oct 9, 2024
1 parent 8e43b45 commit 9a0c023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/glium.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ fn main() -> io::Result<()> {
print!(
"\rms: {}\t (buffer) + {}\t (UI)",
t1.duration_since(t0).as_millis(),
t0.elapsed().as_millis()
t1.elapsed().as_millis()
);
})
.map_err(io::Error::other)
Expand Down

0 comments on commit 9a0c023

Please sign in to comment.