Fix warning about non-constant array size

pull/1471/head
Turo Lamminen 2017-10-05 10:45:25 +03:00
parent 452885672e
commit 1ef3b0f3f3
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public:
scene->mRootNode = new aiNode; scene->mRootNode = new aiNode;
scene->mRootNode->mNumMeshes = 1; scene->mRootNode->mNumMeshes = 1;
scene->mRootNode->mMeshes = new unsigned int[scene->mRootNode->mNumMeshes]{ 0 }; scene->mRootNode->mMeshes = new unsigned int[1]{ 0 };
return scene; return scene;
} }