Sam Lantinga hace 6 años
padre
commit
c302c1abb8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;