Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1046. #1048

Merged
merged 1 commit into from
Aug 20, 2017
Merged

Fix #1046. #1048

merged 1 commit into from
Aug 20, 2017

Conversation

rosekunkel
Copy link
Contributor

@rosekunkel rosekunkel commented Aug 19, 2017

Fix #1046. Batch events together so that we don't end up lagging behind user input. Essentially reverted back to the behavior before e268425. I didn't include the logic to wait 16ms between updates because it's my understanding that setting vsync on the window will cause the target.finish() call to block and limit updates to 60fps. Correct me if I'm mistaken.

@mitchmindtree
Copy link
Contributor

Thanks for this!

This PR re-introduces the issue of running into the blocking-during-resize bug in macos (see rust-windowing/winit#219) but this is already a problem in all the other examples anyway, and it's probably worth not getting swamped on platforms that emit loads of events.

@mitchmindtree mitchmindtree merged commit 3343845 into PistonDevelopers:master Aug 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants