Jelajahi Sumber

Fixed unresolved symbol on Visual Studio

Sam Lantinga 9 tahun lalu
induk
melakukan
c2837ef634
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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.