diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llvoground.cpp | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to '')
-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 | } |