Vertex buffer data
This commit is contained in:
committed by
Isaac Marovitz
parent
7f41e7dbd4
commit
2890fc1069
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