You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Implement the count parameter in RenderingServer.canvas_item_add_triangle_array()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user