forked from rust-windowing/softbuffer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wayland: Block dispatching if back buffer isn't released
rust-windowing#41 If `set_buffer` can just be called in a loop without waiting for buffers to be released or a frame callback, but can also be called in other ways, I don't know if there's a better solution than blocking. Should fix rust-windowing#48. The animation example could probably be implemented better, but this is at least better. I guess it should be documented that `set_buffer` may block? I don't know how this compares to other backends.
- Loading branch information
Showing
1 changed file
with
14 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters