sdl: null init sdl_controller
This commit is contained in:
parent
41ac140076
commit
1dc22ec76c
|
@ -374,7 +374,7 @@ private:
|
|||
SDL_Haptic *sdl_haptic;
|
||||
float vib_inclination = 0;
|
||||
double vib_stop_time = 0;
|
||||
SDL_GameController *sdl_controller;
|
||||
SDL_GameController *sdl_controller = nullptr;
|
||||
u32 leftTrigger = ~0;
|
||||
u32 rightTrigger = ~0;
|
||||
static std::map<SDL_JoystickID, std::shared_ptr<SDLGamepad>> sdl_gamepads;
|
||||
|
|
Loading…
Reference in New Issue