Update arrayvec.

This commit is contained in:
Josh Matthews 2022-04-01 01:06:02 -04:00
parent 72fd95f613
commit a7c87af9ca
8 changed files with 21 additions and 20 deletions

View file

@ -135,7 +135,7 @@ impl GPUCanvasContextMethods for GPUCanvasContext {
}
*self.swap_chain.borrow_mut() = None;
let mut buffer_ids = ArrayVec::<[id::BufferId; PRESENTATION_BUFFER_COUNT]>::new();
let mut buffer_ids = ArrayVec::<id::BufferId, PRESENTATION_BUFFER_COUNT>::new();
for _ in 0..PRESENTATION_BUFFER_COUNT {
buffer_ids.push(
self.global()