mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-12 17:58:53 +01:00
Reduce input lag (Emb) by handling all input events in stead of just one.
This commit is contained in:
parent
6b3bae4344
commit
51d63e1b10
@ -252,7 +252,7 @@ void RetroFE::run()
|
||||
float lastTime = 0;
|
||||
float deltaTime = 0;
|
||||
SDL_Event e;
|
||||
if (SDL_PollEvent(&e))
|
||||
while (SDL_PollEvent(&e))
|
||||
{
|
||||
if(input_.update(e))
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user