diff options
Diffstat (limited to 'linden/indra/newview/llvoground.cpp')
-rw-r--r-- | linden/indra/newview/llvoground.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llvoground.cpp b/linden/indra/newview/llvoground.cpp index ad627e6..a985c44 100644 --- a/linden/indra/newview/llvoground.cpp +++ b/linden/indra/newview/llvoground.cpp | |||
@@ -93,7 +93,7 @@ BOOL LLVOGround::updateGeometry(LLDrawable *drawable) | |||
93 | LLStrider<LLVector3> verticesp; | 93 | LLStrider<LLVector3> verticesp; |
94 | LLStrider<LLVector3> normalsp; | 94 | LLStrider<LLVector3> normalsp; |
95 | LLStrider<LLVector2> texCoordsp; | 95 | LLStrider<LLVector2> texCoordsp; |
96 | LLStrider<U32> indicesp; | 96 | LLStrider<U16> indicesp; |
97 | S32 index_offset; | 97 | S32 index_offset; |
98 | LLFace *face; | 98 | LLFace *face; |
99 | 99 | ||
@@ -167,6 +167,7 @@ BOOL LLVOGround::updateGeometry(LLDrawable *drawable) | |||
167 | *(texCoordsp++) = LLVector2(0.f, 1.f); | 167 | *(texCoordsp++) = LLVector2(0.f, 1.f); |
168 | *(texCoordsp++) = LLVector2(0.5f, 0.5f); | 168 | *(texCoordsp++) = LLVector2(0.5f, 0.5f); |
169 | 169 | ||
170 | face->mVertexBuffer->setBuffer(0); | ||
170 | LLPipeline::sCompiles++; | 171 | LLPipeline::sCompiles++; |
171 | return TRUE; | 172 | return TRUE; |
172 | } | 173 | } |