[SDL] Improved documentation of Event size hack

This commit is contained in:
thefiddler 2014-05-05 15:11:01 +02:00
parent dffabcb94a
commit 52efa3b629

View file

@ -1446,8 +1446,9 @@ namespace OpenTK.Platform.SDL2
#endif
// Ensure the structure is big enough
// This hack is necessary, because until we
// map all possible events (see above)s
// This hack is necessary to ensure compatibility
// with different SDL versions, which might have
// different sizeof(SDL_Event).
[FieldOffset(0)]
private unsafe fixed byte reserved[128];
}