Skip to content

Commit

Permalink
Fix compilation of not(feature = render) flag
Browse files Browse the repository at this point in the history
  • Loading branch information
vladbat00 committed Aug 18, 2024
1 parent c4f61da commit 35f4670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ pub fn setup_render_to_texture_handles_system(
Entity,
(Added<EguiRenderToTextureHandle>, Without<EguiContext>),
>,
#[cfg(not(feature = "render"))] new_windows: Query<Entity, Without<EguiContext>>,
#[cfg(not(feature = "render"))] new_render_to_texture_targets: Query<Entity, Without<EguiContext>>,
) {
for render_to_texture_target in new_render_to_texture_targets.iter() {
commands.entity(render_to_texture_target).insert((
Expand Down

0 comments on commit 35f4670

Please sign in to comment.