diff options
author | Dave Parks <davep@lindenlab.com> | 2012-02-22 14:30:24 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-02-22 14:30:24 -0600 |
commit | 8f261582b80d7d4a61cf8bb42c0429fa58f0c186 (patch) | |
tree | 36a8e3ec0273069eeffe405e53db44caa1add931 /indra/llrender/llshadermgr.cpp | |
parent | e1a71a97cd00d70fedeb6191b6ebb10361019ee1 (diff) |
SH-2908 Fix for crash when enabling Lighting and Shadows on some AMD GPUs
Diffstat (limited to 'indra/llrender/llshadermgr.cpp')
-rw-r--r-- | indra/llrender/llshadermgr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp index e1cd8fa62d..b28a97adaa 100644 --- a/indra/llrender/llshadermgr.cpp +++ b/indra/llrender/llshadermgr.cpp @@ -644,6 +644,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"); + text[count++] = strdup("#define shadow2DRect(a,b) vec2(texture(a,b))\n"); } //copy preprocessor definitions into buffer |