2
0
Эх сурвалжийг харах

Fixed build warnings on MSVC14 x64 in the COB format sources.

Jared Mulconry 8 жил өмнө
parent
commit
2866da1262
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      code/COBLoader.cpp

+ 1 - 1
code/COBLoader.cpp

@@ -181,7 +181,7 @@ void COBImporter::InternReadFile( const std::string& pFile,
         if (n->type == Node::TYPE_MESH) {
             Mesh& mesh = (Mesh&)(*n.get());
             if (mesh.vertex_positions.size() && mesh.texture_coords.size()) {
-                pScene->mNumMeshes += mesh.temp_map.size();
+                pScene->mNumMeshes += static_cast<unsigned int>(mesh.temp_map.size());
             }
         }
     }