From 0c00f0cd1f540bc82245b8dce07bc1eeddd6c15a Mon Sep 17 00:00:00 2001 From: maik klein Date: Thu, 29 Dec 2016 07:11:10 +0100 Subject: [PATCH] Add clone to xlib --- src/extensions/xlib_surface.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/extensions/xlib_surface.rs b/src/extensions/xlib_surface.rs index f8809fa..800b749 100644 --- a/src/extensions/xlib_surface.rs +++ b/src/extensions/xlib_surface.rs @@ -7,6 +7,7 @@ use vk; use std::ffi::CStr; use ::RawPtr; +#[derive(Clone)] pub struct XlibSurface { handle: vk::Instance, xlib_surface_fn: vk::XlibSurfaceFn,