summaryrefslogtreecommitdiff
path: root/indra/llrender/llshadermgr.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-12-13 15:23:55 -0600
committerDave Parks <davep@lindenlab.com>2011-12-13 15:23:55 -0600
commit2dc7df91ade45d8952473f7de5068e8705440e29 (patch)
tree05754b73c860aaac5e55443b86b4382500ed7a9a /indra/llrender/llshadermgr.cpp
parent4e92846cd5ca304537ef3105a880f0c14ba02e3c (diff)
SH-2743 Fix for shader compiler error on some GL 3.x implementations.
Diffstat (limited to 'indra/llrender/llshadermgr.cpp')
-rw-r--r--indra/llrender/llshadermgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index ac9dc9544d..85c4bab7a9 100644
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -579,7 +579,7 @@ GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shade
text[count++] = strdup("#define ATTRIBUTE attribute\n");
text[count++] = strdup("#define VARYING varying\n");
}
- else if (version < 3.f)
+ else if (version < 3.3f)
{
//set version to 1.20
text[count++] = strdup("#version 120\n");