summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorAnsariel <ansariel.hiller@phoenixviewer.com>2024-05-30 15:41:36 +0200
committerAnsariel <ansariel.hiller@phoenixviewer.com>2024-05-30 15:41:36 +0200
commitcb3bd8865aa0f9fb8a247ea595cf1973057ba91f (patch)
tree5694572bbbb030ab1bd547455c4215034cf120de /indra/llrender
parentc082f6f67a6dcd3437d1f2413932fef8cdf7de07 (diff)
Fix a bunch of uninitialized variable warnings that showed up in Visual Studio
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llglslshader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llglslshader.h b/indra/llrender/llglslshader.h
index 95e8f1168a..698da92877 100644
--- a/indra/llrender/llglslshader.h
+++ b/indra/llrender/llglslshader.h
@@ -68,8 +68,8 @@ public:
template<typename T>
struct UniformSetting
{
- S32 mUniform;
- T mValue;
+ S32 mUniform{ 0 };
+ T mValue{};
};
typedef UniformSetting<S32> IntSetting;