Fix return type
This commit is contained in:
parent
504efe4c07
commit
fc409187df
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ impl Scene {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn view_resource(&mut self) -> (&mut View, &mut Resources) {
|
pub fn view_resource(&mut self) -> (&mut View, &mut Resources) {
|
||||||
Ok((self.renderer.view_mut(), &mut self.resources))
|
(self.renderer.view_mut(), &mut self.resources)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue