diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2021-04-12 16:04:10 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2021-04-12 16:04:10 -0700 |
commit | 907140d248c4a45e61cb499f0cd2a38bff6f42d4 (patch) | |
tree | c2115964c3d226152090dbeb534627b5a875b151 | |
parent | caabb384bdb5d0d78023d1d9fd155838f022c186 (diff) |
SL-15110 Fix stars appearing in a different location in the night sky when ALM is turned on
-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) |