Ver Fonte

Fixed unresolved symbol on Visual Studio

Sam Lantinga há 9 anos atrás
pai
commit
c2837ef634
1 ficheiros alterados com 2 adições e 2 exclusões
  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 "../joystick/SDL_joystick_c.h" /* For SDL_PrivateJoystickValid */
 #include "SDL_assert.h"
 #include "SDL_assert.h"
 
 
-static SDL_Haptic *SDL_haptics = NULL;
-
+/* Global for SDL_windowshaptic.c */
+SDL_Haptic *SDL_haptics = NULL;
 
 
 /*
 /*
  * Initializes the Haptic devices.
  * Initializes the Haptic devices.