From f7936885790c47281ee16a2d268f343f680e385f Mon Sep 17 00:00:00 2001 From: rustbasic <127506429+rustbasic@users.noreply.github.com> Date: Wed, 19 Jun 2024 21:49:26 +0900 Subject: [PATCH] Update epi_integration.rs --- crates/eframe/src/native/epi_integration.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/eframe/src/native/epi_integration.rs b/crates/eframe/src/native/epi_integration.rs index a48f1c139ff..ea382e4eb6d 100644 --- a/crates/eframe/src/native/epi_integration.rs +++ b/crates/eframe/src/native/epi_integration.rs @@ -315,9 +315,9 @@ impl EpiIntegration { if continuous_mode { let viewport_id = egui_ctx.viewport_id(); // TODO(rustbasic) : Do not recall until the next repaint. - // 1000 millis / 60 fps = 16.67 millis + // 1000 millis / 60 fps = 16.66 millis self.egui_ctx - .request_repaint_after_for(std::time::Duration::from_millis(8), viewport_id); + .request_repaint_after_for(std::time::Duration::from_millis(16), viewport_id); } });