summaryrefslogtreecommitdiff
path: root/indra/newview/llvosky.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-05-30 01:25:55 -0500
committerDave Parks <davep@lindenlab.com>2011-05-30 01:25:55 -0500
commiteca17c8993aecfd8d69c1b1765f8ac841ad29119 (patch)
treef876d76ad19db1fa18c56f7c61efd4b10648c747 /indra/newview/llvosky.cpp
parent57725bd6a14f471cae1a0f4ac7485ab9ccd8bfc6 (diff)
SH-1682 Full integration if indexed texture rendering to improve batch size.
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)