From dfe262b61922cd10d5586808a3661745f4c7f249 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 11 Apr 2016 08:32:38 +0200 Subject: [PATCH] Don't pump SDL Event in GetInput, or they will be missing in SeriousSam.cpp:SubMain(...) --- Sources/Engine/Base/SDL/SDLInput.cpp | 3 +++ 1 file changed, 3 insertions(+) mode change 100644 => 100755 Sources/Engine/Base/SDL/SDLInput.cpp diff --git a/Sources/Engine/Base/SDL/SDLInput.cpp b/Sources/Engine/Base/SDL/SDLInput.cpp old mode 100644 new mode 100755 index 07f985d..af1b72b --- a/Sources/Engine/Base/SDL/SDLInput.cpp +++ b/Sources/Engine/Base/SDL/SDLInput.cpp @@ -759,8 +759,11 @@ void CInput::GetInput(BOOL bPreScan) return; } +#if 0 + // should not be usefull SDL_Event event; while (SE_SDL_InputEventPoll(&event)) { /* do nothing... */ } +#endif // if not pre-scanning if (!bPreScan) {