mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-03-09 16:11:09 +00:00
chore: change BufferHolder.GetHandle() to a getter for the handle instead
This commit is contained in:
@@ -368,10 +368,13 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
}
|
||||
}
|
||||
|
||||
public BufferHandle GetHandle()
|
||||
public BufferHandle Handle
|
||||
{
|
||||
ulong handle = _bufferHandle;
|
||||
return Unsafe.As<ulong, BufferHandle>(ref handle);
|
||||
get
|
||||
{
|
||||
ulong handle = _bufferHandle;
|
||||
return Unsafe.As<ulong, BufferHandle>(ref handle);
|
||||
}
|
||||
}
|
||||
|
||||
public nint Map(int offset, int mappingSize)
|
||||
|
||||
Reference in New Issue
Block a user