mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-13 13:37:00 +00:00
chore: change BufferHolder.GetHandle() to a getter for the handle instead
This commit is contained in:
parent
2ea829f17b
commit
c7572b5d30
1 changed files with 6 additions and 3 deletions
|
|
@ -368,11 +368,14 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
}
|
||||
}
|
||||
|
||||
public BufferHandle GetHandle()
|
||||
public BufferHandle Handle
|
||||
{
|
||||
get
|
||||
{
|
||||
ulong handle = _bufferHandle;
|
||||
return Unsafe.As<ulong, BufferHandle>(ref handle);
|
||||
}
|
||||
}
|
||||
|
||||
public nint Map(int offset, int mappingSize)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue