Upgrade Mesh2D indices from u16 to u32
This commit is contained in:
parent
945dfabd71
commit
f5c80a6d75
3 changed files with 4 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue