Relax lifetimes further
This commit is contained in:
parent
71c9940f91
commit
db2c1ca316
1 changed files with 5 additions and 5 deletions
|
@ -336,11 +336,11 @@ impl TextRenderer {
|
|||
}
|
||||
|
||||
/// Renders all layouts that were previously provided to `prepare`.
|
||||
pub fn render<'pass>(
|
||||
&'pass self,
|
||||
atlas: &'pass TextAtlas,
|
||||
viewport: &'pass Viewport,
|
||||
pass: &mut RenderPass<'pass>,
|
||||
pub fn render(
|
||||
&self,
|
||||
atlas: &TextAtlas,
|
||||
viewport: &Viewport,
|
||||
pass: &mut RenderPass<'_>,
|
||||
) -> Result<(), RenderError> {
|
||||
if self.glyphs_to_render == 0 {
|
||||
return Ok(());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue