From b38e43e0517e42578cbc6a25237031b238575efa Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Wed, 18 Oct 2023 06:12:00 +0900 Subject: [PATCH] fix build. --- src/tydra/render-data.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tydra/render-data.cc b/src/tydra/render-data.cc index 0bf35af3..bc53d8b6 100644 --- a/src/tydra/render-data.cc +++ b/src/tydra/render-data.cc @@ -650,7 +650,7 @@ bool RenderSceneConverter::ConvertMesh(const int64_t rmaterial_id, std::vector uvs(vattr.counts()); memcpy(uvs.data(), vattr.data.data(), vattr.data.size()); - dst.facevaryingTexcoords[size_t(slotId)] = uvs; + dst.facevaryingTexcoords[uint32_t(slotId)] = uvs; } else { PUSH_ERROR_AND_RETURN(ret.error());