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