From ff0469c0b361d897fc9b1d61a04b82ecb234f9bc Mon Sep 17 00:00:00 2001 From: IceSentry Date: Fri, 17 Mar 2023 17:16:04 -0400 Subject: [PATCH] clean up --- crates/bevy_core_pipeline/src/tonemapping/node.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/crates/bevy_core_pipeline/src/tonemapping/node.rs b/crates/bevy_core_pipeline/src/tonemapping/node.rs index 1fa5a2a351ed8c..90bd51b3b9a74b 100644 --- a/crates/bevy_core_pipeline/src/tonemapping/node.rs +++ b/crates/bevy_core_pipeline/src/tonemapping/node.rs @@ -33,6 +33,12 @@ impl TonemappingNode { } } +impl Default for TonemappingNode { + fn default() -> Self { + Self::new() + } +} + impl ViewQueryNode for TonemappingNode { type ViewWorldQuery = ( Read, @@ -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,