Small cmake changes

This commit is contained in:
4VRDriver
2020-09-05 19:05:25 +02:00
parent 79717cfc57
commit c0cbf8c257
6 changed files with 59 additions and 9 deletions

View File

@@ -116,7 +116,7 @@ std::vector<Texture*> Model::loadMaterialTextures(aiMaterial *mat, aiTextureType
std::string currentPath = directory + '/' + filename.C_Str();
bool skip = 0;
for(uint j = 0; j < loadedTextures.size(); j++) {
for(uint32_t j = 0; j < loadedTextures.size(); j++) {
if(std::strcmp(loadedTextures[j]->getPath().c_str(), currentPath.c_str()) == 0) {
textures.push_back(loadedTextures[j]);
skip = 1;