Reduce input lag (Emb) by handling all input events in stead of just one.

This commit is contained in:
Pieter Hulshoff 2016-08-31 08:45:49 +02:00
parent 6b3bae4344
commit 51d63e1b10

View File

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