blob: be12ff9992e5bdcca6368db4595914efdd0a5e37 (
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 partial class WGLHelper
{
private const string LibraryName = "OPENGL32.DLL";
[LibraryImport(LibraryName, EntryPoint = "wglGetCurrentContext")]
public static partial IntPtr GetCurrentContext();
}
}
|