Skip to content
This repository has been archived by the owner on Jun 12, 2019. It is now read-only.

Delay in event processing #2

Closed
gbaudic opened this issue Aug 29, 2016 · 1 comment
Closed

Delay in event processing #2

gbaudic opened this issue Aug 29, 2016 · 1 comment
Assignees
Labels

Comments

@gbaudic
Copy link
Owner

gbaudic commented Aug 29, 2016

After the inclusion of the SDL2_gfx framerate manager, processing delays for keystrokes have become much larger. It is not uncommon to have to wait 5 seconds before the press on Escape (which triggers a quit event) effectively closes the window.
Removing the framerate delay in the main loop solves the problem.

@gbaudic gbaudic added the bug label Aug 29, 2016
@gbaudic gbaudic self-assigned this Aug 29, 2016
@gbaudic
Copy link
Owner Author

gbaudic commented Oct 14, 2016

The event processing was made using an if instead of a while. The issue is now solved as of commit 20bb7b2.

@gbaudic gbaudic closed this as completed Oct 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant