mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 18:30:27 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
// should not be usefull
|
||||||
SDL_Event event;
|
SDL_Event event;
|
||||||
while (SE_SDL_InputEventPoll(&event)) { /* do nothing... */ }
|
while (SE_SDL_InputEventPoll(&event)) { /* do nothing... */ }
|
||||||
|
#endif
|
||||||
|
|
||||||
// if not pre-scanning
|
// if not pre-scanning
|
||||||
if (!bPreScan) {
|
if (!bPreScan) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user