Model only reskins when needed;

Saves a barriers when not animating models.
This commit is contained in:
bjorn 2022-08-25 21:59:10 -07:00
parent ede1036694
commit 78214988a4
1 changed files with 1 additions and 0 deletions

View File

@ -3000,6 +3000,7 @@ static void lovrModelReskin(Model* model) {
baseVertex += skin->vertexCount;
}
model->lastReskin = state.tick;
state.hasReskin = true;
}