summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2022-03-01 02:59:15 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2022-03-01 02:59:15 +0200
commitfa9d4927f45f868573d95d670652c561d50a0de7 (patch)
tree816639620f4308300d8d5b20a9356d43bac0d8f0 /indra/newview
parent201f83472c604e837b40c12f3750602e30d79d0b (diff)
parent43031968a653899f62755b6d7b7e28b7fedc24d9 (diff)
Merge remote-tracking branch 'NickyD/viewer-cleanup:master' into DRTVWR-543-maint
# Conflicts: # autobuild.xml
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llvosky.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llvosky.cpp b/indra/newview/llvosky.cpp
index 878d7287ed..8232d47808 100644
--- a/indra/newview/llvosky.cpp
+++ b/indra/newview/llvosky.cpp
@@ -680,9 +680,7 @@ void LLVOSky::idleUpdate(LLAgent &agent, const F64 &time)
void LLVOSky::forceSkyUpdate()
{
mForceUpdate = TRUE;
-
- memset(&m_lastAtmosphericsVars, 0x00, sizeof(AtmosphericsVars));
-
+ m_lastAtmosphericsVars = {};
mCubeMapUpdateStage = -1;
}