Fix broken non-buffer_labels build

This commit is contained in:
Raph Levien 2023-01-25 06:33:38 -08:00
parent 418256ffd1
commit 3b766d9969

View file

@ -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) {