Fix warning about non-constant array size
parent
452885672e
commit
1ef3b0f3f3
|
@ -89,7 +89,7 @@ public:
|
|||
|
||||
scene->mRootNode = new aiNode;
|
||||
scene->mRootNode->mNumMeshes = 1;
|
||||
scene->mRootNode->mMeshes = new unsigned int[scene->mRootNode->mNumMeshes]{ 0 };
|
||||
scene->mRootNode->mMeshes = new unsigned int[1]{ 0 };
|
||||
|
||||
return scene;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue