Skip to content

Commit

Permalink
Update epi_integration.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rustbasic authored Jun 19, 2024
1 parent da91224 commit f793688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/eframe/src/native/epi_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});

Expand Down

0 comments on commit f793688

Please sign in to comment.