diff options
author | Graham Linden <graham@lindenlab.com> | 2013-06-19 13:04:26 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-06-19 13:04:26 -0700 |
commit | a29a18eb97e93a2bb2749dca322e99b1180c4a91 (patch) | |
tree | 58fec47d1c32b3326003beb95e5c95da51833679 /indra/newview/pipeline.cpp | |
parent | 6c061ae4fd3c5de9a73035855180df2b26dae3dd (diff) |
NORSPEC-272 make sure the tex filtering fix stays put
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rwxr-xr-x | indra/newview/pipeline.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 4801c52209..c25d22bbdf 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -1404,6 +1404,7 @@ void LLPipeline::createLUTBuffers() LLImageGL::setManualImage(LLTexUnit::getInternalType(LLTexUnit::TT_TEXTURE), 0, GL_R16F, lightResX, lightResY, GL_RED, GL_FLOAT, ls, false); //LLImageGL::setManualImage(LLTexUnit::getInternalType(LLTexUnit::TT_TEXTURE), 0, GL_UNSIGNED_BYTE, lightResX, lightResY, GL_RED, GL_UNSIGNED_BYTE, ls, false); gGL.getTexUnit(0)->setTextureAddressMode(LLTexUnit::TAM_CLAMP); + gGL.getTexUnit(0)->setTextureFilteringOption(LLTexUnit::TFO_TRILINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); |