[SDL2] Fix issue where changes to mutable struct were lost

This commit is contained in:
thefiddler 2013-12-30 17:09:20 +01:00
parent 9beb396c9e
commit 43ef78f222

View file

@ -47,8 +47,8 @@ namespace OpenTK.Platform.SDL2
class Sdl2GamePad class Sdl2GamePad
{ {
public IntPtr Handle { get; private set; } public IntPtr Handle { get; private set; }
public GamePadState State { get; set; } public GamePadState State;
public GamePadCapabilities Capabilities { get; set; } public GamePadCapabilities Capabilities;
public Sdl2GamePad(IntPtr handle) public Sdl2GamePad(IntPtr handle)
{ {