mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 07:10:04 -04:00
Update MSRV to 1.80 (#5457)
Because some dependencies now require it, see: * https://github.com/emilk/egui/pull/5456
This commit is contained in:
@@ -32,7 +32,7 @@ impl FrameHistory {
|
||||
1.0 / self.frame_times.mean_time_interval().unwrap_or_default()
|
||||
}
|
||||
|
||||
pub fn ui(&mut self, ui: &mut egui::Ui) {
|
||||
pub fn ui(&self, ui: &mut egui::Ui) {
|
||||
ui.label(format!(
|
||||
"Mean CPU usage: {:.2} ms / frame",
|
||||
1e3 * self.mean_frame_time()
|
||||
|
||||
Reference in New Issue
Block a user