summaryrefslogtreecommitdiff
path: root/indra/newview/llsettingsvo.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-09-18 20:31:26 +0100
committerGraham Linden <graham@lindenlab.com>2018-09-18 20:31:26 +0100
commit862b8f72dc4d89e88b0c03992dad393aff9451a5 (patch)
treed64e3926ca9e8329f50867135dd3c41606fbed31 /indra/newview/llsettingsvo.cpp
parent08dd04aa98f9071d87a26573fb2807aaac1852eb (diff)
SL-9685
Make sure legacy opaque water texture ID is assigned so it can be bound for lowest graphics use.
Diffstat (limited to 'indra/newview/llsettingsvo.cpp')
-rw-r--r--indra/newview/llsettingsvo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llsettingsvo.cpp b/indra/newview/llsettingsvo.cpp
index b16ba65c01..583adcb024 100644
--- a/indra/newview/llsettingsvo.cpp
+++ b/indra/newview/llsettingsvo.cpp
@@ -851,6 +851,7 @@ void LLSettingsVOWater::updateSettings()
if (pwaterpool)
{
pwaterpool->setTransparentTextures(getTransparentTextureID(), getNextTransparentTextureID());
+ pwaterpool->setOpaqueTexture(GetDefaultOpaqueTextureAssetId());
pwaterpool->setNormalMaps(getNormalMapID(), getNextNormalMapID());
}
}