1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 06:40:06 -04:00

Fewer arguments to EpiIntegration::update

This commit is contained in:
Emil Ernerfeldt
2023-11-12 15:58:52 +01:00
parent 6ddc22e122
commit 1c5c19817d
3 changed files with 22 additions and 14 deletions

View File

@@ -182,6 +182,8 @@ impl State {
window: &winit::window::Window,
id_pair: ViewportIdPair,
) -> egui::RawInput {
crate::profile_function!();
let pixels_per_point = self.pixels_per_point();
self.egui_input.time = Some(self.start_time.elapsed().as_secs_f64());