swapchain: increase cap for additional queuing (e.g. explicit synchronization)
This commit is contained in:
parent
bcf6a5c4b9
commit
d042609dbd
|
@ -4,7 +4,7 @@ use std::ops::Deref;
|
||||||
|
|
||||||
use crate::backend::allocator::{Allocator, Buffer, Format};
|
use crate::backend::allocator::{Allocator, Buffer, Format};
|
||||||
|
|
||||||
pub const SLOT_CAP: usize = 3;
|
pub const SLOT_CAP: usize = 4;
|
||||||
|
|
||||||
pub struct Swapchain<A: Allocator<B>, B: Buffer + TryInto<B>, D: Buffer = B> {
|
pub struct Swapchain<A: Allocator<B>, B: Buffer + TryInto<B>, D: Buffer = B> {
|
||||||
allocator: A,
|
allocator: A,
|
||||||
|
|
Loading…
Reference in New Issue