mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-26 18:43:04 +00:00
Warning about host map buffer creation
This commit is contained in:
parent
113e721cce
commit
a60643620d
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ namespace Ryujinx.Graphics.Metal
|
|||
|
||||
public BufferHandle Create(nint pointer, int size)
|
||||
{
|
||||
// TODO: This is the wrong Metal method, we need no-copy which SharpMetal isn't giving us.
|
||||
var buffer = _device.NewBuffer(pointer, (ulong)size, MTLResourceOptions.ResourceStorageModeShared);
|
||||
|
||||
if (buffer == IntPtr.Zero)
|
||||
|
|
Loading…
Reference in a new issue