summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-02-23 13:41:19 -0600
committerDave Parks <davep@lindenlab.com>2012-02-23 13:41:19 -0600
commita128836dedf25dc56807cced9316fbaa09a7f019 (patch)
tree967f9da3c20486d744b7d4f3d7750cfb30d5cb47 /indra/llrender
parentbab8b9d75ad72c338e3228019825a739b41eb677 (diff)
SH-2908 Fix for linux build.
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llvertexbuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp
index a7f0170658..8b5503229f 100644
--- a/indra/llrender/llvertexbuffer.cpp
+++ b/indra/llrender/llvertexbuffer.cpp
@@ -1262,7 +1262,7 @@ void LLVertexBuffer::setupVertexArray()
{
glEnableVertexAttribArrayARB(i);
- if (attrib_integer)
+ if (attrib_integer[i])
{
#if !LL_DARWIN
//glVertexattribIPointer requires GLSL 1.30 or later