Просмотр исходного кода

Update EmbedTexturesProcess.cpp

Fix typo.
Kim Kulling 7 лет назад
Родитель
Сommit
1a887a64c1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      code/EmbedTexturesProcess.cpp

+ 1 - 1
code/EmbedTexturesProcess.cpp

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