summaryrefslogtreecommitdiffstats
path: root/examples/bezier_tool
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-14 05:42:19 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-14 05:42:19 +0100
commitf5c80a6d75d5022b175d3562f0965598b6398bd7 (patch)
treea97a21b78569945660c4406f9d26ac3a5dac5d35 /examples/bezier_tool
parent945dfabd7135d1bd44a14e54d95b716642651ed3 (diff)
downloadiced-f5c80a6d75d5022b175d3562f0965598b6398bd7.tar.gz
iced-f5c80a6d75d5022b175d3562f0965598b6398bd7.tar.bz2
iced-f5c80a6d75d5022b175d3562f0965598b6398bd7.zip
Upgrade `Mesh2D` indices from `u16` to `u32`
Diffstat (limited to 'examples/bezier_tool')
-rw-r--r--examples/bezier_tool/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bezier_tool/src/main.rs b/examples/bezier_tool/src/main.rs
index fbb6fa24..efdb3924 100644
--- a/examples/bezier_tool/src/main.rs
+++ b/examples/bezier_tool/src/main.rs
@@ -94,7 +94,7 @@ mod bezier {
layout: Layout<'_>,
cursor_position: Point,
) -> (Primitive, MouseCursor) {
- let mut buffer: VertexBuffers<Vertex2D, u16> = VertexBuffers::new();
+ let mut buffer: VertexBuffers<Vertex2D, u32> = VertexBuffers::new();
let mut path_builder = lyon::path::Path::builder();
let bounds = layout.bounds();