diff --git a/pipelined/bevy_pbr2/src/render/light.rs b/pipelined/bevy_pbr2/src/render/light.rs index d8eaed32ef65e1..8395234f9c7d0d 100644 --- a/pipelined/bevy_pbr2/src/render/light.rs +++ b/pipelined/bevy_pbr2/src/render/light.rs @@ -334,16 +334,13 @@ pub fn update_point_light_frusta( } pub fn check_light_visibility( - mut point_lights: Query< - ( - &PointLight, - &GlobalTransform, - &CubemapFrusta, - &mut CubemapVisibleEntities, - Option<&RenderLayers>, - ), - With, - >, + mut point_lights: Query<( + &PointLight, + &GlobalTransform, + &CubemapFrusta, + &mut CubemapVisibleEntities, + Option<&RenderLayers>, + )>, mut directional_lights: Query< (&Frustum, &mut VisibleEntities, Option<&RenderLayers>), With,