diff options
Diffstat (limited to 'indra/newview/llvoground.cpp')
| -rw-r--r-- | indra/newview/llvoground.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llvoground.cpp b/indra/newview/llvoground.cpp index 8f6bc4a090..fd4956113d 100644 --- a/indra/newview/llvoground.cpp +++ b/indra/newview/llvoground.cpp @@ -93,7 +93,7 @@ BOOL LLVOGround::updateGeometry(LLDrawable *drawable) LLStrider<LLVector3> verticesp; LLStrider<LLVector3> normalsp; LLStrider<LLVector2> texCoordsp; - LLStrider<U32> indicesp; + LLStrider<U16> indicesp; S32 index_offset; LLFace *face; @@ -167,6 +167,7 @@ BOOL LLVOGround::updateGeometry(LLDrawable *drawable) *(texCoordsp++) = LLVector2(0.f, 1.f); *(texCoordsp++) = LLVector2(0.5f, 0.5f); + face->mVertexBuffer->setBuffer(0); LLPipeline::sCompiles++; return TRUE; } |
