render: make surfacepool cloneable

This commit is contained in:
Victoria Fischer 2024-11-16 11:40:08 +01:00
parent 3a8dd89828
commit 52434577cd

View File

@ -152,6 +152,7 @@ impl Debug for BoundSurface<Arc<Mutex<ShaderBinding>>> {
}
}
#[derive(Clone)]
pub struct SurfacePool<S: Surface + Default> {
surfaces: Vec<S>
}