mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-23 18:36:34 +11:00
Merge pull request #179 from jwilm/clone-winit-eventsloop
Derive Clone on winit::EventsLoop wrapper
This commit is contained in:
commit
ce8682be2e
1 changed files with 1 additions and 0 deletions
|
@ -187,6 +187,7 @@ pub struct ButtonId(u32);
|
||||||
|
|
||||||
/// Provides a way to retreive events from the windows that were registered to it.
|
/// Provides a way to retreive events from the windows that were registered to it.
|
||||||
// TODO: document usage in multiple threads
|
// TODO: document usage in multiple threads
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct EventsLoop {
|
pub struct EventsLoop {
|
||||||
events_loop: Arc<platform::EventsLoop>,
|
events_loop: Arc<platform::EventsLoop>,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue