summaryrefslogtreecommitdiff
path: root/indra/newview/llvosky.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-06-07 13:59:40 -0500
committerDave Parks <davep@lindenlab.com>2011-06-07 13:59:40 -0500
commit690f18c948003c9d14524da8cdf5b82da8227758 (patch)
treeff35e520c853e3f0005eb6e3bd61e0c659e9194e /indra/newview/llvosky.cpp
parent0de24f857ac359e04d7def2afa7d8efe5a4cef97 (diff)
parent70f959f01e845b3a7b6211f82c20d0cbd6641c39 (diff)
merge
Diffstat (limited to 'indra/newview/llvosky.cpp')
-rw-r--r--indra/newview/llvosky.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llvosky.cpp b/indra/newview/llvosky.cpp
index 6396bc042d..800af26b69 100644
--- a/indra/newview/llvosky.cpp
+++ b/indra/newview/llvosky.cpp
@@ -1483,6 +1483,8 @@ BOOL LLVOSky::updateHeavenlyBodyGeometry(LLDrawable *drawable, const S32 f, cons
facep->setVertexBuffer(buff);
}
+ llassert(facep->getVertexBuffer()->getNumIndices() == 6);
+
index_offset = facep->getGeometry(verticesp,normalsp,texCoordsp, indicesp);
if (-1 == index_offset)