Skip to content

Commit

Permalink
fix label not rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongfq committed Jun 1, 2020
1 parent 7ebcc1a commit 6345915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frameworks/cocos2d-x/cocos/2d/CCLabel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1908,7 +1908,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();
Expand Down

0 comments on commit 6345915

Please sign in to comment.