diff options
| author | Dave Parks <davep@lindenlab.com> | 2022-10-12 18:49:18 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2022-10-12 18:49:18 -0500 |
| commit | 598c953d540090caa8a9a12581a4ab8ae52615dd (patch) | |
| tree | 403932e8219368a70a95ddf1b634cdbad551a6a9 /indra/newview/llsettingsvo.cpp | |
| parent | bc84b88cb389f30bd9b6b1355a64abdad4185f35 (diff) | |
SL-18190 Fix for assert on 360 snapshot and ? fix for mac build ?
Diffstat (limited to 'indra/newview/llsettingsvo.cpp')
| -rw-r--r-- | indra/newview/llsettingsvo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llsettingsvo.cpp b/indra/newview/llsettingsvo.cpp index ddd9c56841..f9b7c749b3 100644 --- a/indra/newview/llsettingsvo.cpp +++ b/indra/newview/llsettingsvo.cpp @@ -968,7 +968,7 @@ void LLSettingsVOWater::applySpecial(void *ptarget, bool force) LLColor4 fog_color(env.getCurrentWater()->getWaterFogColor()); shader->uniform4fv(LLShaderMgr::WATER_FOGCOLOR, fog_color.mV); - shader->uniform3fv(LLShaderMgr::WATER_FOGCOLOR_LINEAR, linearColor3(fog_color.mV).mV); + shader->uniform3fv(LLShaderMgr::WATER_FOGCOLOR_LINEAR, linearColor3(fog_color).mV); F32 blend_factor = env.getCurrentWater()->getBlendFactor(); shader->uniform1f(LLShaderMgr::BLEND_FACTOR, blend_factor); |
