mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2026-02-18 09:26:50 -05:00
Vertex buffer data
This commit is contained in:
committed by
Evan Husted
parent
c216028d00
commit
b3629e3a8b
14
src/Ryujinx.Graphics.Metal/Handle.cs
Normal file
14
src/Ryujinx.Graphics.Metal/Handle.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Ryujinx.Graphics.GAL;
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Ryujinx.Graphics.Metal
|
||||
{
|
||||
static class Handle
|
||||
{
|
||||
public static IntPtr ToIntPtr(this BufferHandle handle)
|
||||
{
|
||||
return Unsafe.As<BufferHandle, IntPtr>(ref handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user