Browse Source

Fixed unresolved symbol on Visual Studio

Sam Lantinga 8 years ago
parent
commit
c2837ef634
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/haptic/SDL_haptic.c

+ 2 - 2
src/haptic/SDL_haptic.c

@@ -25,8 +25,8 @@
 #include "../joystick/SDL_joystick_c.h" /* For SDL_PrivateJoystickValid */
 #include "SDL_assert.h"
 
-static SDL_Haptic *SDL_haptics = NULL;
-
+/* Global for SDL_windowshaptic.c */
+SDL_Haptic *SDL_haptics = NULL;
 
 /*
  * Initializes the Haptic devices.