Sam Lantinga 5 年 前
コミット
c302c1abb8
1 ファイル変更1 行追加0 行削除
  1. 1 0
      src/joystick/windows/SDL_rawinputjoystick.c

+ 1 - 0
src/joystick/windows/SDL_rawinputjoystick.c

@@ -95,6 +95,7 @@ static void RAWINPUT_JoystickClose(SDL_Joystick * joystick);
 
 typedef struct _SDL_RAWINPUT_Device
 {
+    SDL_atomic_t refcount;
     char *name;
     Uint16 vendor_id;
     Uint16 product_id;