mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-15 22:20:17 +00:00
15 lines
303 B
C#
15 lines
303 B
C#
|
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);
|
||
|
}
|
||
|
}
|
||
|
}
|