summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2020-03-27 11:24:22 -0600
committerDave Houlton <euclid@lindenlab.com>2020-03-27 11:24:22 -0600
commitf61474fe5b3bd616fdd2d92fbb3478891bb60fb1 (patch)
tree001414fbf5052589c01b79d718f008bdc2c1b737 /indra/llmath
parent6620211bff5dca7df0667cf9220da1a9e7ce079c (diff)
DRTVWR-440, quick fix, add return value - needed for Mac build
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/v4color.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llmath/v4color.h b/indra/llmath/v4color.h
index 00fc955384..175edf1471 100644
--- a/indra/llmath/v4color.h
+++ b/indra/llmath/v4color.h
@@ -676,6 +676,8 @@ inline const LLColor4 linearColor4(const LLColor4 &a)
linearColor.mV[1] = sRGBtoLinear(a.mV[1]);
linearColor.mV[2] = sRGBtoLinear(a.mV[2]);
linearColor.mV[3] = a.mV[3];
+
+ return linearColor;
}
#endif