Skip to content

Commit

Permalink
fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed Oct 17, 2023
1 parent 976fc24 commit b38e43e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tydra/render-data.cc
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ bool RenderSceneConverter::ConvertMesh(const int64_t rmaterial_id,
std::vector<vec2> 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());
Expand Down

0 comments on commit b38e43e

Please sign in to comment.