Skip to content

Commit

Permalink
Mesh mode defaults to triangles;
Browse files Browse the repository at this point in the history
Not sure where this went.
  • Loading branch information
bjornbytes committed Jun 7, 2023
1 parent c9576bc commit 82340f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/graphics/graphics.c
Original file line number Diff line number Diff line change
Expand Up @@ -4570,6 +4570,7 @@ void lovrPassReset(Pass* pass) {

pass->pipelineIndex = 0;
memset(pass->pipeline, 0, sizeof(Pipeline));
pass->pipeline->mode = MESH_TRIANGLES;
pass->pipeline->color[0] = 1.f;
pass->pipeline->color[1] = 1.f;
pass->pipeline->color[2] = 1.f;
Expand Down

0 comments on commit 82340f5

Please sign in to comment.