summaryrefslogtreecommitdiff
path: root/indra/llrender/llvertexbuffer.cpp
diff options
context:
space:
mode:
authorseth_productengine <none@none>2011-06-02 17:03:51 +0300
committerseth_productengine <none@none>2011-06-02 17:03:51 +0300
commitd4e09e81ca1c6350b5b73c9209baa9b1d5391746 (patch)
treeba5959ac129e843f5e53a76aa24f14e97d4b3d44 /indra/llrender/llvertexbuffer.cpp
parentfaef58a9b91ecbbffd93fa90347f1b8bd5856902 (diff)
Linux build fix.
Unused local varible removed.
Diffstat (limited to 'indra/llrender/llvertexbuffer.cpp')
-rw-r--r--indra/llrender/llvertexbuffer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp
index 27cc88462a..74fd3bf197 100644
--- a/indra/llrender/llvertexbuffer.cpp
+++ b/indra/llrender/llvertexbuffer.cpp
@@ -1338,8 +1338,6 @@ template <class T,S32 type> struct VertexBufferStrider
{
if (type == LLVertexBuffer::TYPE_INDEX)
{
- S32 stride = sizeof(T);
-
U8* ptr = vbo.mapIndexBuffer(index, count, map_range);
if (ptr == NULL)