-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
Add waiting for events to core #1112
Comments
This could also be added to the default event loop as a setting. |
I looked into adding this to the various backends after adding it to just I previously added this method to
but looking at the other backends, sdl2 and glfw, I think the best API is to have:
The reasons are
|
the glfw backend requires an extra method to be exposed via If that and the piston changes get merged I can implement the new methods for all the various backends. |
Closed by #1123 |
See discussion #1109
This could be very simple, such as adding
Window::wait_event
https://github.com/PistonDevelopers/glutin_window/blob/master/src/lib.rs#L125The text was updated successfully, but these errors were encountered: