mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-06 02:48:27 +00:00
Remove unused trait method
Rust 1.78.0 starts warning about this.
This commit is contained in:
parent
57d61b359b
commit
4b5e24df59
@ -177,7 +177,6 @@ pub fn load_model(
|
||||
}
|
||||
|
||||
pub trait DrawModel<'a> {
|
||||
fn draw_mesh(&mut self, mesh: &'a Mesh, material: &'a Material);
|
||||
fn draw_mesh_instanced(
|
||||
&mut self,
|
||||
mesh: &'a Mesh,
|
||||
@ -193,10 +192,6 @@ impl<'a, 'b> DrawModel<'b> for wgpu::RenderPass<'a>
|
||||
where
|
||||
'b: 'a,
|
||||
{
|
||||
fn draw_mesh(&mut self, mesh: &'b Mesh, material: &'b Material) {
|
||||
self.draw_mesh_instanced(mesh, material, 0..1);
|
||||
}
|
||||
|
||||
fn draw_mesh_instanced(
|
||||
&mut self,
|
||||
mesh: &'b Mesh,
|
||||
|
Loading…
Reference in New Issue
Block a user