diff options
author | Graham Linden <graham@lindenlab.com> | 2019-06-05 15:31:39 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-06-05 15:31:39 -0700 |
commit | e710dd257414ef006c633a93b26b24304aa4e04f (patch) | |
tree | 075bb1891f930b27cfc7676f45c3ccee7fc783e4 /indra/newview/llsettingsvo.h | |
parent | 2408e8be5ee66d8860cd7a8275012af1fa5635a6 (diff) |
SL-11368
Force update of water fog color shader uniform to fix low/low+ application of water fog.
Diffstat (limited to 'indra/newview/llsettingsvo.h')
-rw-r--r-- | indra/newview/llsettingsvo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llsettingsvo.h b/indra/newview/llsettingsvo.h index 0f4b715e44..6f105c9d61 100644 --- a/indra/newview/llsettingsvo.h +++ b/indra/newview/llsettingsvo.h @@ -40,6 +40,7 @@ class LLVFS; class LLInventoryItem; +class LLGLSLShader; //========================================================================= class LLSettingsVOBase : public LLSettingsBase @@ -101,6 +102,8 @@ public: bool isAdvanced() const { return m_isAdvanced; } + virtual void updateShader(LLGLSLShader* shader) { applySpecial(shader); } + protected: LLSettingsVOSky(); @@ -132,6 +135,9 @@ public: static ptr_t buildFromLegacyPresetFile(const std::string &name, const std::string &path, LLSD &messages); static LLSD convertToLegacy(const ptr_t &); + + virtual void updateShader(LLGLSLShader* shader) { applySpecial(shader); } + protected: LLSettingsVOWater(); |