[SDL2] Fix issue where changes to mutable struct were lost
authorthefiddler <stapostol@gmail.com>
Mon, 30 Dec 2013 16:09:20 +0000 (17:09 +0100)
committerthefiddler <stapostol@gmail.com>
Mon, 30 Dec 2013 16:09:20 +0000 (17:09 +0100)
Source/OpenTK/Platform/SDL2/Sdl2JoystickDriver.cs

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