rust/lib-hedgewars-engine/src/render/gear.rs
changeset 15785 f6af9d05b03c
parent 15784 84c07aa94b61
child 15786 b10bbfb2b354
--- a/rust/lib-hedgewars-engine/src/render/gear.rs	Fri Nov 13 20:54:00 2020 +0300
+++ b/rust/lib-hedgewars-engine/src/render/gear.rs	Fri Nov 13 20:59:13 2020 +0300
@@ -207,7 +207,7 @@
         let _state = PipelineState::new().with_blend();
 
         unsafe {
-            gl::DrawArrays(gl::TRIANGLES, 0, entries.len() as i32 * 2);
+            gl::DrawArrays(gl::TRIANGLES, 0, entries.len() as i32 * 6);
         }
     }
 }