Don't pump SDL Event in GetInput, or they will be missing in SeriousSam.cpp:SubMain(...)

This commit is contained in:
ptitSeb 2016-04-11 08:32:38 +02:00
parent cb039e972f
commit dfe262b619

3
Sources/Engine/Base/SDL/SDLInput.cpp Normal file → Executable file
View File

@ -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) {