mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-05-12 23:22:09 +00:00
[SDL] Improved documentation of Event size hack
This commit is contained in:
parent
dffabcb94a
commit
52efa3b629
|
@ -1446,8 +1446,9 @@ namespace OpenTK.Platform.SDL2
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Ensure the structure is big enough
|
// Ensure the structure is big enough
|
||||||
// This hack is necessary, because until we
|
// This hack is necessary to ensure compatibility
|
||||||
// map all possible events (see above)s
|
// with different SDL versions, which might have
|
||||||
|
// different sizeof(SDL_Event).
|
||||||
[FieldOffset(0)]
|
[FieldOffset(0)]
|
||||||
private unsafe fixed byte reserved[128];
|
private unsafe fixed byte reserved[128];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue