Fix warning about non-constant array size
parent
d28e88feb7
commit
ae8a4c0c62
|
@ -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