Fixed `Label::getLetter(index)->setVisible(true)` cause draws duplicate letters.

This commit is contained in:
WenhaiLin 2015-08-18 15:42:05 +08:00
parent 990a25f759
commit 6bf15885b8
1 changed files with 5 additions and 0 deletions

View File

@ -144,6 +144,11 @@ public:
_textureAtlas->updateQuad(&_quad, _atlasIndex);
}
//LabelLetter doesn't need to draw directly.
void draw(Renderer *renderer, const Mat4 &transform, uint32_t flags)
{
}
};
Label* Label::create()