mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 08:55:30 +00:00
[SDL2] Added missing [SuppressUnamangedCodeSecurity] attribute
This commit is contained in:
parent
b79d951e62
commit
9171977079
|
@ -334,6 +334,7 @@ namespace OpenTK.Platform.SDL2
|
|||
[DllImport(lib, CallingConvention = CallingConvention.Cdecl, EntryPoint = "SDL_GL_GetAttribute", ExactSpelling = true)]
|
||||
public static extern int GetAttribute(ContextAttribute attr, out int value);
|
||||
|
||||
[SuppressUnmanagedCodeSecurity]
|
||||
[DllImport(lib, CallingConvention = CallingConvention.Cdecl, EntryPoint = "SDL_GL_GetCurrentContext", ExactSpelling = true)]
|
||||
public static extern IntPtr GetCurrentContext();
|
||||
|
||||
|
|
Loading…
Reference in a new issue