summaryrefslogtreecommitdiffstats
path: root/winit/src/program.rs
diff options
context:
space:
mode:
Diffstat (limited to 'winit/src/program.rs')
-rw-r--r--winit/src/program.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/winit/src/program.rs b/winit/src/program.rs
index 2ac7ad0d..f15e5be5 100644
--- a/winit/src/program.rs
+++ b/winit/src/program.rs
@@ -824,11 +824,6 @@ async fn run_instance<P, C>(
continue;
};
- // TODO: Avoid redrawing all the time by forcing widgets to
- // request redraws on state changes
- //
- // Then, we can use the `interface_state` here to decide if a redraw
- // is needed right away, or simply wait until a specific time.
let redraw_event = core::Event::Window(
window::Event::RedrawRequested(Instant::now()),
);