diff options
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Helper/GLXHelper.cs')
-rw-r--r-- | Ryujinx.Graphics.OpenGL/Helper/GLXHelper.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Helper/GLXHelper.cs b/Ryujinx.Graphics.OpenGL/Helper/GLXHelper.cs index 7cc39708..96354946 100644 --- a/Ryujinx.Graphics.OpenGL/Helper/GLXHelper.cs +++ b/Ryujinx.Graphics.OpenGL/Helper/GLXHelper.cs @@ -5,7 +5,7 @@ using System.Runtime.Versioning; namespace Ryujinx.Graphics.OpenGL.Helper { [SupportedOSPlatform("linux")] - internal static class GLXHelper + internal static partial class GLXHelper { private const string LibraryName = "glx.dll"; @@ -30,7 +30,7 @@ namespace Ryujinx.Graphics.OpenGL.Helper }); } - [DllImport(LibraryName, EntryPoint = "glXGetCurrentContext")] - public static extern IntPtr GetCurrentContext(); + [LibraryImport(LibraryName, EntryPoint = "glXGetCurrentContext")] + public static partial IntPtr GetCurrentContext(); } } |