mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-25 19:55:54 +01:00
Don't pump SDL Event in GetInput, or they will be missing in SeriousSam.cpp:SubMain(...)
This commit is contained in:
parent
cb039e972f
commit
dfe262b619
3
Sources/Engine/Base/SDL/SDLInput.cpp
Normal file → Executable file
3
Sources/Engine/Base/SDL/SDLInput.cpp
Normal file → Executable 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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user