summaryrefslogtreecommitdiff
path: root/indra/llimage
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-12-07 16:06:32 -0500
committerNat Goodspeed <nat@lindenlab.com>2016-12-07 16:06:32 -0500
commit6dd0a500ea74a329fc3d5326a8884d6daa42dcff (patch)
tree2e6cea711be9dd4db3987fec6a241c7a28e3ca9d /indra/llimage
parent5bb456d80cfbcdfe87526510f3b8297d315afdd8 (diff)
parent70a42af076cbe6f12a265d508b4ed96af65d26ba (diff)
Automated merge with ssh://bitbucket.org/lindenlab/viewer-skip-llcorehttp-test
Diffstat (limited to 'indra/llimage')
-rw-r--r--indra/llimage/llimage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp
index f71607096c..a6cbcc131e 100644
--- a/indra/llimage/llimage.cpp
+++ b/indra/llimage/llimage.cpp
@@ -1218,9 +1218,10 @@ void LLImageRaw::fill( const LLColor4U& color )
if( 4 == getComponents() )
{
U32* data = (U32*) getData();
+ U32 rgbaColor = color.asRGBA();
for( S32 i = 0; i < pixels; i++ )
{
- data[i] = color.mAll;
+ data[ i ] = rgbaColor;
}
}
else