Don’t use DidModifyRange

This commit is contained in:
Isaac Marovitz 2024-05-31 14:01:32 +01:00
parent 04703f0191
commit 774359f6b7
No known key found for this signature in database
GPG Key ID: 97250B2B09A132E1
1 changed files with 0 additions and 5 deletions

View File

@ -220,11 +220,6 @@ namespace Ryujinx.Graphics.Metal
{
var span = new Span<byte>(src.Contents.ToPointer(), data.Length);
data.CopyTo(span);
src.DidModifyRange(new NSRange
{
location = 0,
length = (ulong)data.Length
});
MTLBuffer dst = new(Unsafe.As<BufferHandle, IntPtr>(ref buffer));
blitEncoder.CopyFromBuffer(src, 0, dst, (ulong)offset, (ulong)data.Length);