mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 12:41:30 +11:00
Fix broken non-buffer_labels build
This commit is contained in:
parent
418256ffd1
commit
3b766d9969
|
@ -717,6 +717,7 @@ impl ResourcePool {
|
||||||
let props = BufferProperties {
|
let props = BufferProperties {
|
||||||
size: rounded_size,
|
size: rounded_size,
|
||||||
usages: usage,
|
usages: usage,
|
||||||
|
#[cfg(feature = "buffer_labels")]
|
||||||
name: name,
|
name: name,
|
||||||
};
|
};
|
||||||
if let Some(buf_vec) = self.bufs.get_mut(&props) {
|
if let Some(buf_vec) = self.bufs.get_mut(&props) {
|
||||||
|
|
Loading…
Reference in a new issue