mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-26 18:43:04 +00:00
Don’t use DidModifyRange
This commit is contained in:
parent
122f0f45c8
commit
b821cb1739
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue