From b821cb17395ed85920c00048dad3254fa3a6f9f0 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Fri, 31 May 2024 14:01:32 +0100 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20use=20DidModifyRange?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Ryujinx.Graphics.Metal/MetalRenderer.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Ryujinx.Graphics.Metal/MetalRenderer.cs b/src/Ryujinx.Graphics.Metal/MetalRenderer.cs index f5a1f8e97..f9ed0423b 100644 --- a/src/Ryujinx.Graphics.Metal/MetalRenderer.cs +++ b/src/Ryujinx.Graphics.Metal/MetalRenderer.cs @@ -220,11 +220,6 @@ namespace Ryujinx.Graphics.Metal { var span = new Span(src.Contents.ToPointer(), data.Length); data.CopyTo(span); - src.DidModifyRange(new NSRange - { - location = 0, - length = (ulong)data.Length - }); MTLBuffer dst = new(Unsafe.As(ref buffer)); blitEncoder.CopyFromBuffer(src, 0, dst, (ulong)offset, (ulong)data.Length);