accommodate linux build

pull/3227/head
Yingying Wang 2020-06-08 14:49:50 -07:00
parent 2065512470
commit f18f1a35f6
1 changed files with 2 additions and 2 deletions

View File

@ -354,8 +354,8 @@ inline Ref<Accessor> ExportDataSparse(Asset &a, std::string &meshName, Ref<Buffe
acc->WriteSparseValues(nzCount, nzDiff, numCompsIn * bytesPerComp); acc->WriteSparseValues(nzCount, nzDiff, numCompsIn * bytesPerComp);
//clear //clear
delete[] nzDiff; delete[] (char*)nzDiff;
delete[] nzIdx; delete[] (char*)nzIdx;
} }
return acc; return acc;
} }