render: make surfacepool cloneable
This commit is contained in:
parent
3a8dd89828
commit
52434577cd
@ -152,6 +152,7 @@ impl Debug for BoundSurface<Arc<Mutex<ShaderBinding>>> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct SurfacePool<S: Surface + Default> {
|
pub struct SurfacePool<S: Surface + Default> {
|
||||||
surfaces: Vec<S>
|
surfaces: Vec<S>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user