Pass:append also copies draw bounding boxes;

This commit is contained in:
bjorn 2023-09-18 17:49:19 -07:00
parent ead7a0ccc1
commit 38dbc46e8b
1 changed files with 1 additions and 0 deletions

View File

@ -5293,6 +5293,7 @@ void lovrPassAppend(Pass* pass, Pass* other) {
memcpy(dst->transform, src->transform, sizeof(src->transform));
memcpy(dst->color, src->color, sizeof(src->color));
memcpy(dst->bounds, src->bounds, sizeof(src->bounds));
pass->lastDraw = dst;
pass->drawCount++;