Merge pull request #179 from jwilm/clone-winit-eventsloop

Derive Clone on winit::EventsLoop wrapper
This commit is contained in:
tomaka
2017-05-12 09:09:57 +02:00
committed by GitHub

View File

@@ -187,6 +187,7 @@ pub struct ButtonId(u32);
/// Provides a way to retreive events from the windows that were registered to it.
// TODO: document usage in multiple threads
#[derive(Clone)]
pub struct EventsLoop {
events_loop: Arc<platform::EventsLoop>,
}