Fixed build warnings on MSVC14 x64 in the XGL loader.
parent
7415289649
commit
cf151b77d8
|
@ -711,7 +711,7 @@ unsigned int XGLImporter::ResolveMaterialRef(TempScope& scope)
|
||||||
const std::string& s = GetElementName();
|
const std::string& s = GetElementName();
|
||||||
if (s == "mat") {
|
if (s == "mat") {
|
||||||
ReadMaterial(scope);
|
ReadMaterial(scope);
|
||||||
return scope.materials_linear.size()-1;
|
return static_cast<unsigned int>(scope.materials_linear.size()-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
const int id = ReadIndexFromText();
|
const int id = ReadIndexFromText();
|
||||||
|
|
Loading…
Reference in New Issue