Skip to content

Commit 4391433

Browse files
fix compiler warning
1 parent fe55595 commit 4391433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nbl/asset/utils/CVertexWelder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ class CVertexWelder {
305305
hlsl::vector<uint32_t, 1> index;
306306
indexView.decodeElement<hlsl::vector<uint32_t, 1>>(index_i, index);
307307
const auto remappedIndex = remappedVertexIndexes[index.x];
308-
remappedIndexPtr[index_i] = remappedVertexIndexes[index.x];
308+
remappedIndexPtr[index_i] = static_cast<IndexT>(remappedIndex);
309309
if (remappedIndex == INVALID_INDEX) return false;
310310
}
311311
return true;

0 commit comments

Comments
 (0)