diff options
author | Dave Parks <davep@lindenlab.com> | 2011-09-24 03:09:32 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-09-24 03:09:32 -0500 |
commit | 183fe0d14c48ebeb174567304cea197e7ea443fa (patch) | |
tree | ee233f301b9e7ce7b03d1c83af93aec9dfc1fd71 /indra/llrender | |
parent | 2b604adf7bd20bbd78fce38ed44e2eba1ff1cdc8 (diff) |
SH-2244 Fix for shaders not compiling on pre-GL-3.0 ATI drivers
Diffstat (limited to 'indra/llrender')
-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 889b436ac5..17191a2d97 100644 --- a/indra/llrender/llshadermgr.cpp +++ b/indra/llrender/llshadermgr.cpp @@ -561,6 +561,7 @@ GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shade text[count++] = strdup("#version 400\n"); } + text[count++] = strdup("#define DEFINE_GL_FRAGCOLOR 1\n"); text[count++] = strdup("#define FXAA_GLSL_130 1\n"); text[count++] = strdup("#define ATTRIBUTE in\n"); |