mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-03 06:17:44 -04:00
fix event handling regression
This commit is contained in:
parent
d23f5773e1
commit
c825b167e9
1 changed files with 1 additions and 1 deletions
2
in_sdl.c
2
in_sdl.c
|
@ -412,8 +412,8 @@ static int collect_events(struct in_sdl_state *state, int *one_kc, int *one_down
|
|||
if (one_down != NULL)
|
||||
*one_down = 1;
|
||||
} else
|
||||
i++;
|
||||
#endif
|
||||
i++;
|
||||
// don't lose events other devices might want to handle
|
||||
if (i < count)
|
||||
SDL_PeepEvents(events+i, count-i, SDL_ADDEVENT, mask);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue