From 00cab8a9f90e48352bfe32744b8106d958b9c571 Mon Sep 17 00:00:00 2001 From: Rua Date: Sat, 26 Oct 2024 14:42:47 +0200 Subject: [PATCH] Missed one --- vulkano-taskgraph/src/command_buffer/commands/dynamic_state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vulkano-taskgraph/src/command_buffer/commands/dynamic_state.rs b/vulkano-taskgraph/src/command_buffer/commands/dynamic_state.rs index 79ae0b82a3..7867bec579 100644 --- a/vulkano-taskgraph/src/command_buffer/commands/dynamic_state.rs +++ b/vulkano-taskgraph/src/command_buffer/commands/dynamic_state.rs @@ -780,7 +780,7 @@ impl RecordingCommandBuffer<'_> { fragment_size: [u32; 2], combiner_ops: [FragmentShadingRateCombinerOp; 2], ) -> Result<&mut Self> { - unsafe { Ok(self.set_fragment_shading_rate_unchecked(fragment_size, combiner_ops)) } + Ok(unsafe { self.set_fragment_shading_rate_unchecked(fragment_size, combiner_ops) }) } pub unsafe fn set_fragment_shading_rate_unchecked(