summaryrefslogtreecommitdiff
path: root/indra/llrender/llshadermgr.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-09-24 13:52:19 -0500
committerDave Parks <davep@lindenlab.com>2011-09-24 13:52:19 -0500
commitc70026499afccc2730119ae3c7abc7ab971170ea (patch)
tree6da565c64e88fb4f62b2a02e4fcb1a65442cad3a /indra/llrender/llshadermgr.cpp
parent183fe0d14c48ebeb174567304cea197e7ea443fa (diff)
parent552a02dcbaf5868b5d2164e3bf2a8732f9bce0dd (diff)
merge
Diffstat (limited to 'indra/llrender/llshadermgr.cpp')
-rw-r--r--indra/llrender/llshadermgr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index 17191a2d97..7dde24a437 100644
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -539,6 +539,8 @@ GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shade
if (gGLManager.mGLVersion < 2.1f)
{
text[count++] = strdup("#version 110\n");
+ text[count++] = strdup("#define ATTRIBUTE attribute\n");
+ text[count++] = strdup("#define VARYING varying\n");
}
else if (gGLManager.mGLVersion < 3.f)
{