From 32db6cc281a65931f7755a4613d3e727c44a9ee6 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Mon, 22 Apr 2024 17:51:31 -0400 Subject: [PATCH] Format --- src/Ryujinx.Graphics.Metal/Pipeline.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Ryujinx.Graphics.Metal/Pipeline.cs b/src/Ryujinx.Graphics.Metal/Pipeline.cs index 6c33699e3..94d0bc19e 100644 --- a/src/Ryujinx.Graphics.Metal/Pipeline.cs +++ b/src/Ryujinx.Graphics.Metal/Pipeline.cs @@ -531,7 +531,10 @@ namespace Ryujinx.Graphics.Metal { int maxScissors = Math.Min(regions.Length, _renderEncoderState.ViewportCount); - if (maxScissors == 0) { return; } + if (maxScissors == 0) + { + return; + } var mtlScissorRects = new MTLScissorRect[maxScissors]; @@ -549,7 +552,8 @@ namespace Ryujinx.Graphics.Metal } _renderEncoderState.UpdateScissors(mtlScissorRects); - if (_currentEncoderType == EncoderType.Render) { + if (_currentEncoderType == EncoderType.Render) + { fixed (MTLScissorRect* pMtlScissorRects = mtlScissorRects) { var renderCommandEncoder = GetOrCreateRenderEncoder();