mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 03:04:31 +00:00
Implement the count parameter in RenderingServer.canvas_item_add_triangle_array()
This commit is contained in:
parent
09fcbb8645
commit
101dc9868f
8 changed files with 20 additions and 18 deletions
|
|
@ -1735,7 +1735,7 @@ void RendererCanvasCull::canvas_item_add_triangle_array(RID p_item, const Vector
|
|||
|
||||
polygon->texture = p_texture;
|
||||
|
||||
polygon->polygon.create(p_indices, p_points, p_colors, p_uvs, p_bones, p_weights);
|
||||
polygon->polygon.create(p_indices, p_points, p_colors, p_uvs, p_bones, p_weights, p_count);
|
||||
|
||||
polygon->primitive = RS::PRIMITIVE_TRIANGLES;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue