mirror of https://github.com/axmolengine/axmol.git
Fix typo
This commit is contained in:
parent
60c0a58cfd
commit
1f668eb783
|
@ -893,7 +893,7 @@ void AsyncLoadSprite3DTest::menuCallback_asyncLoadSprite(Ref* sender)
|
||||||
|
|
||||||
void AsyncLoadSprite3DTest::asyncLoad_Callback(Sprite3D* sprite, void* param)
|
void AsyncLoadSprite3DTest::asyncLoad_Callback(Sprite3D* sprite, void* param)
|
||||||
{
|
{
|
||||||
auto index = static_cast<int>((uintptr_t)param));
|
auto index = static_cast<int>((uintptr_t)param);
|
||||||
auto node = getChildByTag(101);
|
auto node = getChildByTag(101);
|
||||||
auto s = Director::getInstance()->getWinSize();
|
auto s = Director::getInstance()->getWinSize();
|
||||||
float width = s.width / _paths.size();
|
float width = s.width / _paths.size();
|
||||||
|
|
Loading…
Reference in New Issue