Quantcast
Channel: cocos2d-x - Cocos Forums
Viewing all articles
Browse latest Browse all 2748

Auto-Batching not working on Label Bitmap Font

$
0
0

@frog_dev wrote:

Hello. I just try to test auto batching label use bitmap font. But it didn't work.

for (int i = 0 ; i< 100; i++)
{

	Label* lblTest = Label::createWithBMFont("markerFelt-hd.fnt", "0");
	lblTest->setPosition(_sizeScreen.width / 2, SIZE_DESIGN_HEIGHT / 2);
	this->addChild(lblTest, 1);
}

After run project, GLCall go up to 100, not 1 which i expected. Any body have idea about this problem? Thanks!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 2748

Latest Images

Trending Articles



Latest Images