Skip to content
Snippets Groups Projects
Commit 68ec4d83 authored by Paul ProductEngine's avatar Paul ProductEngine
Browse files

Linux build fix.

GCC doesn't allow to init non-constant references with temporary objects
parent fe2e27ff
No related branches found
No related tags found
No related merge requests found
......@@ -619,12 +619,13 @@ void LLParticlePartition::getGeometry(LLSpatialGroup* group)
S32 geom_idx = (S32) facep->getGeomIndex();
object->getGeometry(facep->getTEOffset(),
verticesp+geom_idx,
normalsp+geom_idx,
texcoordsp+geom_idx,
colorsp+geom_idx,
indicesp+facep->getIndicesStart());
verticesp += geom_idx;
normalsp += geom_idx;
texcoordsp += geom_idx;
colorsp += geom_idx;
indicesp += facep->getIndicesStart();
object->getGeometry(facep->getTEOffset(), verticesp, normalsp, texcoordsp, colorsp, indicesp);
llassert(facep->getGeomCount() == 4);
llassert(facep->getIndicesCount() == 6);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment