diff options
author | Michael Pohoreski <ptolemy@lindenlab.com> | 2020-07-10 17:36:44 +0000 |
---|---|---|
committer | Michael Pohoreski <ptolemy@lindenlab.com> | 2020-07-10 17:36:44 +0000 |
commit | 8e1eb129f23c5522438cff8adcfa0d2ca86ff51d (patch) | |
tree | e7833edc3506cd67c4effd2d534dadefa7cc2e4c | |
parent | fbf1d2a6110a19fd164f6c27a748ce27731b938d (diff) | |
parent | 0e3e720a8d3b7cec6103b1ceea2d9644c52a7436 (diff) |
Merged in SL-12261 (pull request #193)
SL-12261 Remove redrawing of sky twice and timer causing it not to be re-drawn twice 2% of the time
Approved-by: Dave Houlton
-rw-r--r-- | indra/newview/lldrawpoolsky.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/indra/newview/lldrawpoolsky.cpp b/indra/newview/lldrawpoolsky.cpp index 054e7f32b4..b6f55e800a 100644 --- a/indra/newview/lldrawpoolsky.cpp +++ b/indra/newview/lldrawpoolsky.cpp @@ -123,23 +123,12 @@ void LLDrawPoolSky::renderSkyFace(U8 index) return; } - F32 interp_val = gSky.mVOSkyp ? gSky.mVOSkyp->getInterpVal() : 0.0f; - if (index < 6) // sky tex...interp { llassert(mSkyTex); mSkyTex[index].bindTexture(true); // bind the current tex face->renderIndexed(); - - if (interp_val > 0.01f) // iff, we've got enough info to lerp (a to and a from) - { - LLGLEnable blend(GL_BLEND); - llassert(mSkyTex); - mSkyTex[index].bindTexture(false); // bind the "other" texture - gGL.diffuseColor4f(1, 1, 1, interp_val); // lighting is disabled - face->renderIndexed(); - } } else // heavenly body faces, no interp... { |