mirror of https://github.com/axmolengine/axmol.git
fix label not rendering
This commit is contained in:
parent
9da96e3e1a
commit
cd656f8b8b
|
@ -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