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 39e76d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,10 @@ 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 39e76d8

Please sign in to comment.