mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
- SDL: clear button state when switching from/to GUI input
https://forum.zdoom.org/viewtopic.php?t=60451
This commit is contained in:
parent
ce18ff1df3
commit
7fcefa2ed1
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,7 @@
|
|||
#include "d_event.h"
|
||||
#include "d_gui.h"
|
||||
#include "c_console.h"
|
||||
#include "c_dispatch.h"
|
||||
#include "dikeys.h"
|
||||
#include "s_sound.h"
|
||||
#include "events.h"
|
||||
|
@ -193,6 +194,7 @@ static void I_CheckGUICapture ()
|
|||
{
|
||||
memset (DownState, 0, sizeof(DownState));
|
||||
}
|
||||
ResetButtonStates();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue