Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/gpu_obj/arrow_gpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl ArrowGpu {
)
.fill_from_slice(&positions);

let pipeline = Self::create_pipeline(device, main_bind_group_layout, format).unwrap();;
let pipeline = Self::create_pipeline(device, main_bind_group_layout, format).unwrap();

ArrowGpu {
vertex_buf,
Expand Down
2 changes: 1 addition & 1 deletion src/gpu_obj/line.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl LineGpu {
)
.fill_from_slice(&positions);

let pipeline = Self::create_pipeline(device, main_bind_group_layout, format).unwrap();;
let pipeline = Self::create_pipeline(device, main_bind_group_layout, format).unwrap();

LineGpu {
instance_buf,
Expand Down
2 changes: 1 addition & 1 deletion src/gpu_obj/model_gpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl ModelGpu {
)
.fill_from_slice(&positions);

let pipeline = Self::create_pipeline(device, main_bind_group_layout, format).unwrap();;
let pipeline = Self::create_pipeline(device, main_bind_group_layout, format).unwrap();

ModelGpu {
instance_attr_cpu_buf: Vec::new(),
Expand Down
2 changes: 1 addition & 1 deletion src/gpu_obj/unit_icon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl UnitIconGpu {
)
.fill_from_slice(&positions);

let pipeline = Self::create_pipeline(device, main_bind_group_layout, format).unwrap();;
let pipeline = Self::create_pipeline(device, main_bind_group_layout, format).unwrap();

UnitIconGpu {
instance_buf,
Expand Down
2 changes: 1 addition & 1 deletion src/gpu_obj/water.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl WaterGpu {

let pipeline =
Self::create_pipeline(device, &bind_group_layout, main_bind_group_layout, format)
.unwrap();;
.unwrap();
WaterGpu {
pipeline,
bind_group,
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ mod gpu_obj;
mod heightmap_phy;
mod manager;
mod mobile;
mod model;
mod moddef;
mod model;
mod net_client;
mod net_server;
mod procedural_texels;
Expand Down