aboutsummaryrefslogtreecommitdiffstats
path: root/src/platform/linux/mod.rs
diff options
context:
space:
mode:
authorJan Segre <jan@segre.in>2016-05-23 03:17:31 -0300
committerJan Segre <jan@segre.in>2016-05-23 03:17:31 -0300
commite0f36b80c9bf29bbf3306a617614f6913b705a10 (patch)
treef67c9d09ace81e83f6c2838569888e277aa9df32 /src/platform/linux/mod.rs
parentcf02e7f1f44eebaaee939b8267b9457094d9bc6b (diff)
downloadglutin-e0f36b80c9bf29bbf3306a617614f6913b705a10.tar.gz
glutin-e0f36b80c9bf29bbf3306a617614f6913b705a10.zip
Make `WindowBuilder` and `HeadlessRendererBuilder` derive `Clone`.
Diffstat (limited to 'src/platform/linux/mod.rs')
-rw-r--r--src/platform/linux/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/linux/mod.rs b/src/platform/linux/mod.rs
index 1865835..31a3414 100644
--- a/src/platform/linux/mod.rs
+++ b/src/platform/linux/mod.rs
@@ -15,7 +15,7 @@ pub use self::api_dispatch::{WaitEventsIterator, PollEventsIterator};
pub use self::api_dispatch::PlatformSpecificWindowBuilderAttributes;
mod api_dispatch;
-#[derive(Default)]
+#[derive(Clone, Default)]
pub struct PlatformSpecificHeadlessBuilderAttributes;
pub struct HeadlessContext(OsMesaContext);