1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-04 21:43:34 +00:00

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

View file

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