diff options
| author | callum_linden <none@none> | 2014-12-10 08:44:08 -0800 |
|---|---|---|
| committer | callum_linden <none@none> | 2014-12-10 08:44:08 -0800 |
| commit | 23711c927561ee85b6d46e7e741cdc652649686e (patch) | |
| tree | 4b8c89671594efb2241f894011f9548ae901df76 /indra/llmath/v4color.cpp | |
| parent | 6ad2b5f8d3e4c240a48452578d5c3101a2811053 (diff) | |
Rename llround(..) to ll_round(..) because of a collision with MS llround (long long round) in VS2013
Diffstat (limited to 'indra/llmath/v4color.cpp')
| -rwxr-xr-x | indra/llmath/v4color.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llmath/v4color.cpp b/indra/llmath/v4color.cpp index cd2be7c8fd..79a64b24f2 100755 --- a/indra/llmath/v4color.cpp +++ b/indra/llmath/v4color.cpp @@ -125,10 +125,10 @@ LLColor4 LLColor4::cyan6(0.2f, 0.6f, 0.6f, 1.0f); LLColor4::operator const LLColor4U() const { return LLColor4U( - (U8)llclampb(llround(mV[VRED]*255.f)), - (U8)llclampb(llround(mV[VGREEN]*255.f)), - (U8)llclampb(llround(mV[VBLUE]*255.f)), - (U8)llclampb(llround(mV[VALPHA]*255.f))); + (U8)llclampb(ll_round(mV[VRED]*255.f)), + (U8)llclampb(ll_round(mV[VGREEN]*255.f)), + (U8)llclampb(ll_round(mV[VBLUE]*255.f)), + (U8)llclampb(ll_round(mV[VALPHA]*255.f))); } LLColor4::LLColor4(const LLColor3 &vec, F32 a) |
