diff --git a/src/text_render.rs b/src/text_render.rs index 781b807..32298c3 100644 --- a/src/text_render.rs +++ b/src/text_render.rs @@ -376,7 +376,7 @@ impl TextRenderer { /// Renders all layouts that were previously provided to `prepare`. pub fn render<'pass>( - &'pass mut self, + &'pass self, atlas: &'pass TextAtlas, pass: &mut RenderPass<'pass>, ) -> Result<(), RenderError> {