Update EmbedTexturesProcess.cpp

Fix typo.
This commit is contained in:
Kim Kulling
2018-03-20 21:56:26 +01:00
committed by GitHub
parent b01594f6a8
commit 1a887a64c1

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);