1
0
mirror of synced 2025-01-19 07:47:25 +01:00
This commit is contained in:
pinkimo 2019-11-02 00:12:48 +01:00
parent 6d8c43785f
commit 04ea0e4c90

View File

@ -1633,9 +1633,9 @@ void TriggerSpringEffect(double strength)
TriggerSpringEffectWithDefaultOption(strength, false); TriggerSpringEffectWithDefaultOption(strength, false);
} }
static SDL_Event e;
static int WorkaroundToFixRumble(void* ptr) static int WorkaroundToFixRumble(void* ptr)
{ {
SDL_Event e;
while (SDL_WaitEvent(&e) != 0) while (SDL_WaitEvent(&e) != 0)
{ {
} }