Update EmbedTexturesProcess.cpp

Fix typo.
pull/1841/head
Kim Kulling 2018-03-20 21:56:26 +01:00 committed by GitHub
parent b01594f6a8
commit 1a887a64c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ bool EmbedTexturesProcess::addTexture(aiScene* pScene, std::string path) const {
// Add the new texture
auto pTexture = new aiTexture();
pTexture->mHeight = 0; // Means that this is still compressed
pTexture->mWidth = static_cats<uint32_t>(imageSize);
pTexture->mWidth = static_cast<uint32_t>(imageSize);
pTexture->pcData = imageContent;
auto extension = path.substr(path.find_last_of('.') + 1u);