mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Really fix the Pause key on Windows/SDL2.
This requires enabling the same workaround as for Linux. Maybe it's not system-dependent at all. git-svn-id: https://svn.eduke32.com/eduke32@4193 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
19da43d23b
commit
1628debd7c
1 changed files with 2 additions and 2 deletions
|
@ -2092,9 +2092,9 @@ int32_t handleevents(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
# ifdef __linux
|
# if 1
|
||||||
// The pause key generates a release event right after
|
// The pause key generates a release event right after
|
||||||
// the pressing one on linux. As a result, it gets unseen
|
// the pressing one. As a result, it gets unseen
|
||||||
// by the game most of the time.
|
// by the game most of the time.
|
||||||
if (code == 0x59) // pause
|
if (code == 0x59) // pause
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue