summaryrefslogtreecommitdiff
path: root/indra/llrender/llshadermgr.cpp
diff options
context:
space:
mode:
authorAura Linden <aura@lindenlab.com>2012-08-17 08:07:15 -0700
committerAura Linden <aura@lindenlab.com>2012-08-17 08:07:15 -0700
commitefdcf045b064335aa180f03bae58916af19e2169 (patch)
tree4ca0be04bf1688b728b40be0d6b4221956127918 /indra/llrender/llshadermgr.cpp
parent56298eed3d8ae586ab2ae4c7b8dcf53eeede7394 (diff)
parent7204593ec3f6fca63c32bcb8cdcf9c356165d24e (diff)
Merged in from viewer-development.
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 a9248d4d73..b6a9a6b653 100644
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -643,7 +643,7 @@ GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shade
text[count++] = strdup("#define textureCube texture\n");
text[count++] = strdup("#define texture2DLod textureLod\n");
text[count++] = strdup("#define shadow2D(a,b) vec2(texture(a,b))\n");
-
+
if (major_version > 1 || minor_version >= 40)
{ //GLSL 1.40 replaces texture2DRect et al with texture
text[count++] = strdup("#define texture2DRect texture\n");