From 43ef78f222fa90185290989610d0107f3ed5cf40 Mon Sep 17 00:00:00 2001 From: thefiddler Date: Mon, 30 Dec 2013 17:09:20 +0100 Subject: [PATCH] [SDL2] Fix issue where changes to mutable struct were lost --- Source/OpenTK/Platform/SDL2/Sdl2JoystickDriver.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/OpenTK/Platform/SDL2/Sdl2JoystickDriver.cs b/Source/OpenTK/Platform/SDL2/Sdl2JoystickDriver.cs index e284cc59..c40562e5 100644 --- a/Source/OpenTK/Platform/SDL2/Sdl2JoystickDriver.cs +++ b/Source/OpenTK/Platform/SDL2/Sdl2JoystickDriver.cs @@ -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) {