mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
fixup! Update arrayvec.
This commit is contained in:
parent
9eaa27c946
commit
b3742b779c
2 changed files with 6 additions and 3 deletions
|
@ -2534,7 +2534,8 @@ impl PropertyDeclaration {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
type SubpropertiesVec<T> = ArrayVec<T, ${max(len(s.sub_properties) for s in data.shorthands_except_all()) \
|
type SubpropertiesVec<T> = ArrayVec<T, ${max(len(s.sub_properties) \
|
||||||
|
for s in data.shorthands_except_all()) \
|
||||||
if data.shorthands_except_all() else 0}>;
|
if data.shorthands_except_all() else 0}>;
|
||||||
|
|
||||||
/// A stack-allocated vector of `PropertyDeclaration`
|
/// A stack-allocated vector of `PropertyDeclaration`
|
||||||
|
|
|
@ -755,10 +755,12 @@ impl<'a> WGPU<'a> {
|
||||||
size: Size2D::new(width, height),
|
size: Size2D::new(width, height),
|
||||||
unassigned_buffer_ids: buffer_ids,
|
unassigned_buffer_ids: buffer_ids,
|
||||||
available_buffer_ids: ArrayVec::<
|
available_buffer_ids: ArrayVec::<
|
||||||
id::BufferId, PRESENTATION_BUFFER_COUNT,
|
id::BufferId,
|
||||||
|
PRESENTATION_BUFFER_COUNT,
|
||||||
>::new(),
|
>::new(),
|
||||||
queued_buffer_ids: ArrayVec::<
|
queued_buffer_ids: ArrayVec::<
|
||||||
id::BufferId, PRESENTATION_BUFFER_COUNT,
|
id::BufferId,
|
||||||
|
PRESENTATION_BUFFER_COUNT,
|
||||||
>::new(),
|
>::new(),
|
||||||
buffer_stride,
|
buffer_stride,
|
||||||
image_key,
|
image_key,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue