diff --git a/crates/bevy_sprite/src/mesh2d/mesh.rs b/crates/bevy_sprite/src/mesh2d/mesh.rs index 2db6149c5f..c5d497d1d4 100644 --- a/crates/bevy_sprite/src/mesh2d/mesh.rs +++ b/crates/bevy_sprite/src/mesh2d/mesh.rs @@ -1,7 +1,7 @@ use bevy_app::Plugin; use bevy_asset::{load_internal_asset, AssetId, Handle}; -use bevy_core_pipeline::core_2d::Transparent2d; +use bevy_core_pipeline::core_2d::{Camera2d, Transparent2d}; use bevy_core_pipeline::tonemapping::{ get_lut_bind_group_layout_entries, get_lut_bindings, Tonemapping, TonemappingLuts, }; @@ -611,7 +611,7 @@ pub fn prepare_mesh2d_view_bind_groups( render_device: Res, mesh2d_pipeline: Res, view_uniforms: Res, - views: Query<(Entity, &Tonemapping), With>, + views: Query<(Entity, &Tonemapping), (With, With)>, globals_buffer: Res, tonemapping_luts: Res, images: Res>,