mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-25 20:11:10 +00:00
Fixed wglGetProcAddress entry point
A typo would cause extension loading to fail. This is now fixed.
This commit is contained in:
parent
7775fa64aa
commit
8b8ea714ee
|
@ -33,7 +33,7 @@ namespace OpenTK.Platform.Windows
|
||||||
[System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglGetCurrentDC", ExactSpelling = true, SetLastError = true)]
|
[System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglGetCurrentDC", ExactSpelling = true, SetLastError = true)]
|
||||||
internal extern static IntPtr GetCurrentDC();
|
internal extern static IntPtr GetCurrentDC();
|
||||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||||
[System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglGetDefaultProcAddress", ExactSpelling = true, SetLastError = true)]
|
[System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglGetProcAddress", ExactSpelling = true, SetLastError = true)]
|
||||||
internal extern static IntPtr GetProcAddress(String lpszProc);
|
internal extern static IntPtr GetProcAddress(String lpszProc);
|
||||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||||
[System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglGetPixelFormat", ExactSpelling = true, SetLastError = true)]
|
[System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglGetPixelFormat", ExactSpelling = true, SetLastError = true)]
|
||||||
|
|
Loading…
Reference in a new issue