mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-18 22:36:40 +00:00
16 lines
406 B
C#
16 lines
406 B
C#
|
using System;
|
|||
|
using System.Runtime.InteropServices;
|
|||
|
using System.Runtime.Versioning;
|
|||
|
|
|||
|
namespace Ryujinx.Graphics.OpenGL.Helper
|
|||
|
{
|
|||
|
[SupportedOSPlatform("windows")]
|
|||
|
internal static class WGLHelper
|
|||
|
{
|
|||
|
private const string LibraryName = "OPENGL32.DLL";
|
|||
|
|
|||
|
[DllImport(LibraryName, EntryPoint = "wglGetCurrentContext")]
|
|||
|
public extern static IntPtr GetCurrentContext();
|
|||
|
}
|
|||
|
}
|