blob: b37134eb5e83b231beb3719b90cfd0baba60e332 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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();
}
}
|