summaryrefslogtreecommitdiff
path: root/client/src/scene_render.rs
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/scene_render.rs')
-rw-r--r--client/src/scene_render.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/scene_render.rs b/client/src/scene_render.rs
index 7b2f653..b588e7d 100644
--- a/client/src/scene_render.rs
+++ b/client/src/scene_render.rs
@@ -191,7 +191,7 @@ impl ScenePipeline {
rpass.set_bind_group(1, &*part.tex_normal, &[]);
rpass.set_pipeline(&self.pipeline);
rpass.set_push_constants(ShaderStages::VERTEX, 0, projection.as_flattened());
- rpass.set_index_buffer(part.index.slice(..), IndexFormat::Uint16);
+ rpass.set_index_buffer(part.index.slice(..), IndexFormat::Uint32);
rpass.set_vertex_buffer(0, part.va_position.slice(..));
rpass.set_vertex_buffer(1, part.va_normal.slice(..));
rpass.set_vertex_buffer(2, part.va_texcoord.slice(..));