Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
IceSentry committed Mar 24, 2023
1 parent d3a692a commit ff0469c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion crates/bevy_core_pipeline/src/tonemapping/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ impl TonemappingNode {
}
}

impl Default for TonemappingNode {
fn default() -> Self {
Self::new()
}
}

impl ViewQueryNode for TonemappingNode {
type ViewWorldQuery = (
Read<ViewUniformOffset>,
Expand All @@ -44,7 +50,7 @@ impl ViewQueryNode for TonemappingNode {

fn run(
&self,
graph: &mut RenderGraphContext,
_graph: &mut RenderGraphContext,
render_context: &mut RenderContext,
(view_uniform_offset, target, view_tonemapping_pipeline, tonemapping): ROQueryItem<
Self::ViewWorldQuery,
Expand Down

0 comments on commit ff0469c

Please sign in to comment.