- SDL: clear button state when switching from/to GUI input

https://forum.zdoom.org/viewtopic.php?t=60451
(cherry picked from commit 7fcefa2ed1)

# Conflicts:
#	src/posix/sdl/i_input.cpp
This commit is contained in:
alexey.lysiuk 2018-05-06 14:37:04 +03:00 committed by drfrag666
parent ac73549bd2
commit 5f850067b3

View file

@ -46,6 +46,7 @@
#include "c_console.h"
#include "c_cvars.h"
#include "i_system.h"
#include "c_dispatch.h"
#include "dikeys.h"
#include "templates.h"
#include "s_sound.h"
@ -199,6 +200,7 @@ static void I_CheckGUICapture ()
{
memset (DownState, 0, sizeof(DownState));
}
ResetButtonStates();
}
}