diff options
Diffstat (limited to 'stockton-render/src/draw/draw_passes/util.rs')
-rw-r--r-- | stockton-render/src/draw/draw_passes/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stockton-render/src/draw/draw_passes/util.rs b/stockton-render/src/draw/draw_passes/util.rs index a42f870..5a4eb1a 100644 --- a/stockton-render/src/draw/draw_passes/util.rs +++ b/stockton-render/src/draw/draw_passes/util.rs @@ -11,7 +11,7 @@ pub struct TargetSpecificResources<T> { impl<T> TargetSpecificResources<T> { /// Create a new set of resources, given a function to generate them and the count /// In most cases, count should be swapchain_properties.image_count - pub fn new<F>(generator: F, count: usize) -> Result<Self> + pub fn new<F>(mut generator: F, count: usize) -> Result<Self> where F: FnMut() -> Result<T>, { |