Keep on improving fonts.

This commit is contained in:
2023-01-24 14:49:31 -08:00
parent 6f75e8b7a4
commit dd83f2cefa
9 changed files with 133 additions and 8 deletions

View File

@ -91,7 +91,7 @@ std::vector<struct ShaderPassItem> UILabel::getSelfPassItems(
this->z
);
item.start = this->startQuad * QUAD_INDICE_COUNT;
item.count = this->quadCount * QUAD_INDICE_COUNT;
item.count = this->quadCount == -1 ? -1 : this->quadCount * QUAD_INDICE_COUNT;
items.push_back(item);
return items;
}