fix label not rendering

This commit is contained in:
halx99 2020-06-12 11:34:02 +08:00
parent 9da96e3e1a
commit cd656f8b8b
1 changed files with 1 additions and 1 deletions

View File

@ -1902,7 +1902,7 @@ void Label::draw(Renderer *renderer, const Mat4 &transform, uint32_t flags)
{
auto textureAtlas = batchNode->getTextureAtlas();
if (!textureAtlas->getTotalQuads())
return;
continue;
auto &batch = _batchCommands[i++];
auto &&commands = batch.getCommandArray();