diff --git a/cocos/2d/CCLabel.cpp b/cocos/2d/CCLabel.cpp index aa99487826..d3dc963ec0 100644 --- a/cocos/2d/CCLabel.cpp +++ b/cocos/2d/CCLabel.cpp @@ -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();