Make render
take an immutable self
This commit is contained in:
parent
e457bca108
commit
19d704f0c9
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ impl TextRenderer {
|
||||||
|
|
||||||
/// Renders all layouts that were previously provided to `prepare`.
|
/// Renders all layouts that were previously provided to `prepare`.
|
||||||
pub fn render<'pass>(
|
pub fn render<'pass>(
|
||||||
&'pass mut self,
|
&'pass self,
|
||||||
atlas: &'pass TextAtlas,
|
atlas: &'pass TextAtlas,
|
||||||
pass: &mut RenderPass<'pass>,
|
pass: &mut RenderPass<'pass>,
|
||||||
) -> Result<(), RenderError> {
|
) -> Result<(), RenderError> {
|
||||||
|
|
Loading…
Reference in a new issue