mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-08-30 07:25:05 +00:00
14 lines
400 B
C#
14 lines
400 B
C#
using System.Runtime.InteropServices;
|
|
using System.Runtime.Versioning;
|
|
|
|
namespace Ryujinx.Graphics.OpenGL.Helper
|
|
{
|
|
[SupportedOSPlatform("windows")]
|
|
internal static partial class WGLHelper
|
|
{
|
|
private const string LibraryName = "OPENGL32.DLL";
|
|
|
|
[LibraryImport(LibraryName, EntryPoint = "wglGetCurrentContext")]
|
|
public static partial nint GetCurrentContext();
|
|
}
|
|
}
|