mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 10:28:27 +00:00
Prepare for follow-on change
This commit is contained in:
parent
fec7f1df07
commit
d9285d00da
@ -56,7 +56,7 @@ impl ApplicationHandler for App {
|
||||
event: WindowEvent,
|
||||
) {
|
||||
let (Some(window), Some(renderer)) =
|
||||
(self.window.as_ref(), self.renderer.as_ref())
|
||||
(self.window.as_ref(), self.renderer.as_mut())
|
||||
else {
|
||||
return;
|
||||
};
|
||||
|
@ -87,7 +87,7 @@ impl Renderer {
|
||||
})
|
||||
}
|
||||
|
||||
pub fn render(&self, operation: &impl Operation) -> anyhow::Result<()> {
|
||||
pub fn render(&mut self, operation: &impl Operation) -> anyhow::Result<()> {
|
||||
let vertices = Geometry::vertices(&self.device, operation);
|
||||
let triangles = Geometry::triangles(&self.device, operation);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user