mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 13:25:27 +00:00
[SDL2] Fix issue where changes to mutable struct were lost
This commit is contained in:
parent
9beb396c9e
commit
43ef78f222
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue