Fix warning about non-constant array size

pull/1477/head
Turo Lamminen 2017-10-05 10:45:25 +03:00
parent d28e88feb7
commit ae8a4c0c62
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}