Remove redundant mentions of type

This commit is contained in:
Hanno Braun 2024-11-22 18:59:36 +01:00
parent 48fb2d8be4
commit 409861df92

View File

@ -36,7 +36,7 @@ impl Pipeline {
uniforms: &wgpu::Buffer,
) -> Self {
let vertices_shaders = Shaders::vertices(device, config);
Pipeline::new(device, &vertices_shaders, uniforms)
Self::new(device, &vertices_shaders, uniforms)
}
pub fn triangles(
@ -45,7 +45,7 @@ impl Pipeline {
uniforms: &wgpu::Buffer,
) -> Self {
let triangles_shaders = Shaders::triangles(device, config);
Pipeline::new(device, &triangles_shaders, uniforms)
Self::new(device, &triangles_shaders, uniforms)
}
pub fn new(