Sfoglia il codice sorgente

Fixed unresolved symbol on Visual Studio

Sam Lantinga 8 anni fa
parent
commit
c2837ef634
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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.