From 3b766d99690ef03fb7aa47727ce3f888d8b08c08 Mon Sep 17 00:00:00 2001 From: Raph Levien Date: Wed, 25 Jan 2023 06:33:38 -0800 Subject: [PATCH] Fix broken non-buffer_labels build --- src/engine.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine.rs b/src/engine.rs index 76d7524..1a0e9f8 100644 --- a/src/engine.rs +++ b/src/engine.rs @@ -717,6 +717,7 @@ impl ResourcePool { let props = BufferProperties { size: rounded_size, usages: usage, + #[cfg(feature = "buffer_labels")] name: name, }; if let Some(buf_vec) = self.bufs.get_mut(&props) {