remove unnecessary lifetime

This commit is contained in:
Isse 2024-01-27 22:58:40 +01:00 committed by Marcel Märtens
parent 89d70cc932
commit 3192ed037f

View File

@ -512,7 +512,7 @@ impl<'frame> Drawer<'frame> {
/// ///
/// Note, this automatically calls the internal `run_ui_premultiply_passes` /// Note, this automatically calls the internal `run_ui_premultiply_passes`
/// to complete any pending image uploads for the UI. /// to complete any pending image uploads for the UI.
pub fn third_pass<'a>(&'a mut self) -> ThirdPassDrawer<'a> { pub fn third_pass(&mut self) -> ThirdPassDrawer {
self.run_ui_premultiply_passes(); self.run_ui_premultiply_passes();
let encoder = self.encoder.as_mut().unwrap(); let encoder = self.encoder.as_mut().unwrap();
let device = self.borrow.device; let device = self.borrow.device;