Skip to content

Commit

Permalink
Remove dead code (EpiIntegration::frame_start) (#4790)
Browse files Browse the repository at this point in the history
`frame_start` appears to be deprecated now.
( Am I wrong? )

It would be a good idea to add `#[allow(dead_code)]` or remove
`frame_start`.
  • Loading branch information
rustbasic authored Jul 7, 2024
1 parent 39f7368 commit cd1e4c5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/eframe/src/native/epi_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ pub struct EpiIntegration {
last_auto_save: Instant,
pub beginning: Instant,
is_first_frame: bool,
pub frame_start: Instant,
pub egui_ctx: egui::Context,
pending_full_output: egui::FullOutput,

Expand Down Expand Up @@ -227,7 +226,6 @@ impl EpiIntegration {
app_icon_setter,
beginning: Instant::now(),
is_first_frame: true,
frame_start: Instant::now(),
}
}

Expand Down

0 comments on commit cd1e4c5

Please sign in to comment.