mirror of https://github.com/bjornbytes/lovr.git
Pass:append also copies draw bounding boxes;
This commit is contained in:
parent
ead7a0ccc1
commit
38dbc46e8b
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue