From d9aa9669f8886ebe64c9d93e0ce29006ce8e0c28 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 4 May 2019 16:27:17 -0700 Subject: Fixed a couple of Mac build problems --- AssetLoader/src/GLTFLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AssetLoader/src/GLTFLoader.cpp') diff --git a/AssetLoader/src/GLTFLoader.cpp b/AssetLoader/src/GLTFLoader.cpp index c6151f3..5fdc2a3 100644 --- a/AssetLoader/src/GLTFLoader.cpp +++ b/AssetLoader/src/GLTFLoader.cpp @@ -145,7 +145,7 @@ void Node::Update() { // Update join matrices auto InverseTransform = Mesh->Transforms.matrix.Inverse(); // TODO: do not use inverse tranform here - size_t numJoints = std::min((uint32_t)Skin->Joints.size(), Mesh::TransformData::MaxNumJoints); + size_t numJoints = std::min((uint32_t)Skin->Joints.size(), Uint32{Mesh::TransformData::MaxNumJoints}); for (size_t i = 0; i < numJoints; i++) { auto* JointNode = Skin->Joints[i]; -- cgit v1.2.3