mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 06:04:24 +02:00
Fixing warning
This commit is contained in:
parent
f70702beb7
commit
d38a396e9d
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ MeshPointer Mesh::createIndexedTriangles_P3F(uint32_t numVertices, uint32_t numI
|
|||
int16_t* shortIndices = nullptr;
|
||||
if (indices) {
|
||||
shortIndicesVector.resize(numIndices);
|
||||
for (int i = 0; i < numIndices; i++) {
|
||||
for (uint32_t i = 0; i < numIndices; i++) {
|
||||
shortIndicesVector[i] = indices[i];
|
||||
}
|
||||
shortIndices = shortIndicesVector.data();
|
||||
|
|
Loading…
Reference in a new issue