mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-09 21:57:30 +00:00
Explicitly set WindowProcedure calling convention
This commit is contained in:
parent
2ddd555aaf
commit
b941a8f06b
|
@ -4313,6 +4313,8 @@ namespace OpenTK.Platform.Windows
|
||||||
|
|
||||||
#region --- Callbacks ---
|
#region --- Callbacks ---
|
||||||
|
|
||||||
|
[SuppressUnmanagedCodeSecurity]
|
||||||
|
[UnmanagedFunctionPointer(CallingConvention.Winapi)]
|
||||||
internal delegate IntPtr WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam);
|
internal delegate IntPtr WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam);
|
||||||
|
|
||||||
#region Message
|
#region Message
|
||||||
|
|
Loading…
Reference in a new issue