From 1628debd7c309f554e7b5ae2cdb3b99c2baf4f74 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Fri, 6 Dec 2013 18:56:44 +0000 Subject: [PATCH] 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 --- polymer/eduke32/build/src/sdlayer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/build/src/sdlayer.c b/polymer/eduke32/build/src/sdlayer.c index c7dcbacff..a0b1a9ea6 100644 --- a/polymer/eduke32/build/src/sdlayer.c +++ b/polymer/eduke32/build/src/sdlayer.c @@ -2092,9 +2092,9 @@ int32_t handleevents(void) } else { -# ifdef __linux +# if 1 // 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. if (code == 0x59) // pause break;