mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
remove unnecessary lifetime
This commit is contained in:
parent
89d70cc932
commit
3192ed037f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user