chore: change BufferHolder.GetHandle() to a getter for the handle instead

This commit is contained in:
GreemDev 2025-09-28 00:31:16 -05:00
parent 2ea829f17b
commit c7572b5d30

View file

@ -368,11 +368,14 @@ namespace Ryujinx.Graphics.Vulkan
} }
} }
public BufferHandle GetHandle() public BufferHandle Handle
{
get
{ {
ulong handle = _bufferHandle; ulong handle = _bufferHandle;
return Unsafe.As<ulong, BufferHandle>(ref handle); return Unsafe.As<ulong, BufferHandle>(ref handle);
} }
}
public nint Map(int offset, int mappingSize) public nint Map(int offset, int mappingSize)
{ {