diff --git a/examples/stress_tests/many_lights.rs b/examples/stress_tests/many_lights.rs index 7650eea432fd9..bf1e2b057531b 100644 --- a/examples/stress_tests/many_lights.rs +++ b/examples/stress_tests/many_lights.rs @@ -8,7 +8,7 @@ use bevy::{ math::{DVec2, DVec3}, pbr::{ExtractedPointLight, GlobalLightMeta}, prelude::*, - render::{camera::ScalingMode, Extract, RenderApp, RenderStage}, + render::{camera::ScalingMode, RenderApp, RenderStage}, window::{PresentMode, WindowPlugin}, }; use rand::{thread_rng, Rng}; @@ -156,15 +156,13 @@ impl Plugin for LogVisibleLights { Err(_) => return, }; - render_app - .add_system_to_stage(RenderStage::Extract, extract_time) - .add_system_to_stage(RenderStage::Prepare, print_visible_light_count); + render_app.add_system_to_stage(RenderStage::Prepare, print_visible_light_count); } } // System for printing the number of meshes on every tick of the timer fn print_visible_light_count( - time: Res, + time: Res