This commit is contained in:
rh101 2021-09-02 17:05:33 +10:00
parent 60c0a58cfd
commit 1f668eb783
1 changed files with 1 additions and 1 deletions

View File

@ -893,7 +893,7 @@ void AsyncLoadSprite3DTest::menuCallback_asyncLoadSprite(Ref* sender)
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 s = Director::getInstance()->getWinSize();
float width = s.width / _paths.size();