aboutsummaryrefslogblamecommitdiff
path: root/src/Ryujinx.Graphics.OpenGL/Helper/WGLHelper.cs
blob: df497ae24cfb4952d6e8f9b5558d03e93e4b9e76 (plain) (tree)
1
2
3
4
5
6
7
8





                                        
                                           

                                                          
                                                                         
     
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();
    }
}