chore: change BufferHolder.GetHandle() to a getter for the handle instead
parent
809127fc6f
commit
1ac66c3d92
|
|
@ -364,11 +364,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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue