Initialize Pass font properly;

This commit is contained in:
bjorn 2022-07-17 20:07:20 -07:00
parent d9623a51a9
commit 922942a0bf
1 changed files with 1 additions and 0 deletions

View File

@ -3197,6 +3197,7 @@ Pass* lovrGraphicsGetPass(PassInfo* info) {
float defaultColor[4] = { 1.f, 1.f, 1.f, 1.f };
memcpy(pass->pipeline->color, defaultColor, sizeof(defaultColor));
pass->pipeline->formatHash = 0;
pass->pipeline->font = NULL;
pass->pipeline->shader = NULL;
pass->pipeline->mode = MESH_TRIANGLES;
pass->pipeline->dirty = true;