summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-07-27 12:20:05 -0700
committerRider Linden <rider@lindenlab.com>2018-07-27 12:20:05 -0700
commitbc82509ccd1ebd39a7e2c6f64affbe91e0df296f (patch)
tree1283c9831b98b26ec94b66a4ec903bed4eccfa8e
parented8082a94b5cee8041db19ad1c4f713717d0a092 (diff)
fix init on array
-rw-r--r--indra/newview/lldrawpoolwater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolwater.cpp b/indra/newview/lldrawpoolwater.cpp
index f7cc8a31e1..e3dcc44c4d 100644
--- a/indra/newview/lldrawpoolwater.cpp
+++ b/indra/newview/lldrawpoolwater.cpp
@@ -645,7 +645,7 @@ void LLDrawPoolWater::shade()
shader->uniform1f(LLShaderMgr::WATER_SPECULAR_EXP, light_exp);
if (LLEnvironment::instance().isCloudScrollPaused())
{
- static const std::array<F32, 2> zerowave({{0.0f, 0.0f}});
+ static const std::array<F32, 2> zerowave{ {0.0f, 0.0f} };
shader->uniform2fv(LLShaderMgr::WATER_WAVE_DIR1, 1, zerowave.data());
shader->uniform2fv(LLShaderMgr::WATER_WAVE_DIR2, 1, zerowave.data());