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