mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-24 20:44:26 +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;
|
int16_t* shortIndices = nullptr;
|
||||||
if (indices) {
|
if (indices) {
|
||||||
shortIndicesVector.resize(numIndices);
|
shortIndicesVector.resize(numIndices);
|
||||||
for (int i = 0; i < numIndices; i++) {
|
for (uint32_t i = 0; i < numIndices; i++) {
|
||||||
shortIndicesVector[i] = indices[i];
|
shortIndicesVector[i] = indices[i];
|
||||||
}
|
}
|
||||||
shortIndices = shortIndicesVector.data();
|
shortIndices = shortIndicesVector.data();
|
||||||
|
|
Loading…
Reference in a new issue