chore: fix clippy lints

This commit is contained in:
Ryan Walters
2025-08-27 22:28:14 -05:00
parent 9624bcf359
commit 89b0790f19
2 changed files with 3 additions and 6 deletions

View File

@@ -247,10 +247,7 @@ impl Game {
profile(SystemId::DebugRender, debug_render_system),
profile(
SystemId::Present,
|mut canvas: NonSendMut<&mut Canvas<Window>>,
backbuffer: NonSendMut<BackbufferResource>,
debug_state: Res<DebugState>,
mut dirty: ResMut<RenderDirty>| {
|mut canvas: NonSendMut<&mut Canvas<Window>>, debug_state: Res<DebugState>, mut dirty: ResMut<RenderDirty>| {
if dirty.0 || debug_state.enabled {
// Only copy backbuffer to main canvas if debug rendering is off
// (debug rendering draws directly to main canvas)