Fix warnings detected on Android build
This commit is contained in:
parent
a7563bcd3d
commit
252dc85e95
10 changed files with 22 additions and 18 deletions
|
@ -26,7 +26,11 @@
|
|||
#include "SDL_assert.h"
|
||||
|
||||
/* Global for SDL_windowshaptic.c */
|
||||
#if (defined(SDL_HAPTIC_DINPUT) && SDL_HAPTIC_DINPUT) || (defined(SDL_HAPTIC_XINPUT) && SDL_HAPTIC_XINPUT)
|
||||
SDL_Haptic *SDL_haptics = NULL;
|
||||
#else
|
||||
static SDL_Haptic *SDL_haptics = NULL;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Initializes the Haptic devices.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue