From f87ff5212fa4d04ffeaf1854016ce137f1ba151e Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Fri, 3 Jan 2025 10:51:30 +0100 Subject: [PATCH] instance descriptor can now be cloned --- wgpu-types/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 3c17a57af2..48ec0bfaaa 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -7707,7 +7707,7 @@ pub enum Gles3MinorVersion { } /// Options for creating an instance. -#[derive(Debug)] +#[derive(Clone, Debug)] pub struct InstanceDescriptor { /// Which `Backends` to enable. pub backends: Backends,