mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-19 11:28:01 +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)]
|
[FieldOffset(0)]
|
||||||
public DropEvent drop;
|
public DropEvent drop;
|
||||||
#endif
|
#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)]
|
[StructLayout(LayoutKind.Explicit)]
|
||||||
|
|
Loading…
Reference in a new issue