[SDL] Corrected SDL_Mouse* event structs

This commit is contained in:
thefiddler 2014-05-02 17:39:00 +02:00
parent 3e33ac9280
commit 842c0499b9

View file

@ -1565,8 +1565,8 @@ namespace OpenTK.Platform.SDL2
public UInt32 Which; public UInt32 Which;
public Button Button; public Button Button;
public State State; public State State;
public byte Clicks;
byte padding1; byte padding1;
byte padding2;
public Int32 X; public Int32 X;
public Int32 Y; public Int32 Y;
} }
@ -1577,10 +1577,7 @@ namespace OpenTK.Platform.SDL2
public uint Timestamp; public uint Timestamp;
public uint WindowID; public uint WindowID;
public uint Which; public uint Which;
public State State; public ButtonFlags State;
byte padding1;
byte padding2;
byte padding3;
public Int32 X; public Int32 X;
public Int32 Y; public Int32 Y;
public Int32 Xrel; public Int32 Xrel;
@ -1610,10 +1607,6 @@ namespace OpenTK.Platform.SDL2
} }
public const uint TouchMouseID = 0xffffffff; public const uint TouchMouseID = 0xffffffff;
public static class GL
{
}
} }
struct Rect struct Rect