diff options
author | Michael Pohoreski <ptolemy@lindenlab.com> | 2021-04-16 01:01:33 +0000 |
---|---|---|
committer | Michael Pohoreski <ptolemy@lindenlab.com> | 2021-04-16 01:01:33 +0000 |
commit | b2462208eeec62effe3ea911769d80ffd6d29975 (patch) | |
tree | 786708a10a53067ecca8eb2d7bda27e0043ebe33 | |
parent | 8da31e0580338d7c0b2194731a03e387674055f0 (diff) | |
parent | eb9017a0b3d9989dc37de6815c073937ba911611 (diff) |
Merged in SL-15110 (pull request #527)
SL-15110 Fix stars appearing in a different location in the night sky when ALM is turned on
Approved-by: Euclid Linden
-rw-r--r-- | indra/newview/lldrawpoolwlsky.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolwlsky.cpp b/indra/newview/lldrawpoolwlsky.cpp index 0c3d8f3098..c66aa905f5 100644 --- a/indra/newview/lldrawpoolwlsky.cpp +++ b/indra/newview/lldrawpoolwlsky.cpp @@ -340,6 +340,7 @@ void LLDrawPoolWLSky::renderStarsDeferred(const LLVector3& camPosLocal) const gGL.pushMatrix(); gGL.translatef(camPosLocal.mV[0], camPosLocal.mV[1], camPosLocal.mV[2]); + gGL.rotatef(gFrameTimeSeconds*0.01f, 0.f, 0.f, 1.f); gDeferredStarProgram.uniform1f(LLShaderMgr::BLEND_FACTOR, blend_factor); if (LLPipeline::sReflectionRender) |