mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-24 07:56:48 +00:00
[SDL] Fixed a stack corruption issue on win32
This commit is contained in:
parent
495ded54d8
commit
dffabcb94a
|
@ -1444,6 +1444,12 @@ namespace OpenTK.Platform.SDL2
|
|||
[FieldOffset(0)]
|
||||
public DropEvent drop;
|
||||
#endif
|
||||
|
||||
// Ensure the structure is big enough
|
||||
// This hack is necessary, because until we
|
||||
// map all possible events (see above)s
|
||||
[FieldOffset(0)]
|
||||
private unsafe fixed byte reserved[128];
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
|
|
Loading…
Reference in a new issue