diff --git a/src/lib.rs b/src/lib.rs index a78b9dc5..60c7c9cd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -838,7 +838,10 @@ pub fn setup_render_to_texture_handles_system( Entity, (Added, Without), >, - #[cfg(not(feature = "render"))] new_windows: Query>, + #[cfg(not(feature = "render"))] new_render_to_texture_targets: Query< + Entity, + Without, + >, ) { for render_to_texture_target in new_render_to_texture_targets.iter() { commands.entity(render_to_texture_target).insert((