mirror of https://github.com/axmolengine/axmol.git
fix label not rendering
This commit is contained in:
parent
8a20c6e2db
commit
7ce113d7e5
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue