fix label not rendering

This commit is contained in:
halx99 2020-06-12 11:34:02 +08:00
parent 8a20c6e2db
commit 7ce113d7e5
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();