diff options
author | Geenz <geenz@geenzo.com> | 2013-02-04 11:32:05 -0500 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2013-02-04 11:32:05 -0500 |
commit | 2ae4b6976baf0556066d5a3b43b8f6148f18c1d8 (patch) | |
tree | 18058245316f51855ede5fb554515efdb726fde4 /indra/llrender/llglslshader.cpp | |
parent | 071a53c814cc11631d6f854a4211de3c7c99590e (diff) |
Added a new draw pool specifically for faces with materials applied to them. Removed materials rendering from the bump draw pool, and reverted it to its previous state.
Diffstat (limited to 'indra/llrender/llglslshader.cpp')
-rw-r--r-- | indra/llrender/llglslshader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp index 39e81c4bfc..78fd4e98d7 100644 --- a/indra/llrender/llglslshader.cpp +++ b/indra/llrender/llglslshader.cpp @@ -386,7 +386,7 @@ void LLGLSLShader::removePermutation(std::string name) GLint LLGLSLShader::mapUniformTextureChannel(GLint location, GLenum type) { - if (type >= GL_SAMPLER_1D_ARB && type <= GL_SAMPLER_2D_RECT_SHADOW_ARB || + if ((type >= GL_SAMPLER_1D_ARB && type <= GL_SAMPLER_2D_RECT_SHADOW_ARB) || type == GL_SAMPLER_2D_MULTISAMPLE) { //this here is a texture glUniform1iARB(location, mActiveTextureChannels); |