From 2a4dea528f670b9bb1f77ef27a8a1dd16603d114 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:50 -0500 Subject: Second Life viewer sources 1.20.7 --- linden/indra/newview/llvosurfacepatch.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'linden/indra/newview/llvosurfacepatch.cpp') diff --git a/linden/indra/newview/llvosurfacepatch.cpp b/linden/indra/newview/llvosurfacepatch.cpp index c0474f2..310a745 100644 --- a/linden/indra/newview/llvosurfacepatch.cpp +++ b/linden/indra/newview/llvosurfacepatch.cpp @@ -960,12 +960,12 @@ void LLTerrainPartition::getGeometry(LLSpatialGroup* group) LLStrider colors; LLStrider indices; - buffer->getVertexStrider(vertices); - buffer->getNormalStrider(normals); - buffer->getTexCoordStrider(texcoords); - buffer->getTexCoord2Strider(texcoords2); - buffer->getColorStrider(colors); - buffer->getIndexStrider(indices); + llassert_always(buffer->getVertexStrider(vertices)); + llassert_always(buffer->getNormalStrider(normals)); + llassert_always(buffer->getTexCoordStrider(texcoords)); + llassert_always(buffer->getTexCoord2Strider(texcoords2)); + llassert_always(buffer->getColorStrider(colors)); + llassert_always(buffer->getIndexStrider(indices)); U32 indices_index = 0; U32 index_offset = 0; -- cgit v1.1