src/haptic/SDL_haptic.c
changeset 11238 c728c661cec7
parent 10737 3406a0f8b041
child 11811 5d94cb6b24d3
     1.1 --- a/src/haptic/SDL_haptic.c	Sat Aug 12 08:06:16 2017 -0700
     1.2 +++ b/src/haptic/SDL_haptic.c	Sat Aug 12 08:15:09 2017 -0700
     1.3 @@ -313,6 +313,7 @@
     1.4      SDL_memset(haptic, 0, sizeof(SDL_Haptic));
     1.5      haptic->rumble_id = -1;
     1.6      if (SDL_SYS_HapticOpenFromJoystick(haptic, joystick) < 0) {
     1.7 +        SDL_SetError("Haptic: SDL_SYS_HapticOpenFromJoystick failed.");
     1.8          SDL_free(haptic);
     1.9          return NULL;
    1.10      }