diff options
author | Don Kjer <don@lindenlab.com> | 2012-12-18 23:40:31 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2012-12-18 23:40:31 +0000 |
commit | 802e738b77f09a67c893825dc8699f8273cebbee (patch) | |
tree | a860a9b03264fd8761bd560937a3693aef39ab6f /indra/llimage/llimage.h | |
parent | 7d173dffa98c3c14d6d7db457ea813d3c85dcfa8 (diff) |
Fix for alpha blending using gl fixed-functions not matching shader implementation
Diffstat (limited to 'indra/llimage/llimage.h')
-rw-r--r-- | indra/llimage/llimage.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llimage/llimage.h b/indra/llimage/llimage.h index 5f54585005..2d98f02aa6 100644 --- a/indra/llimage/llimage.h +++ b/indra/llimage/llimage.h @@ -230,6 +230,11 @@ public: // Src and dst are same size. Src has 3 components. Dst has 4 components. void copyUnscaled3onto4( LLImageRaw* src ); + // Src and dst are same size. Src has 1 component. Dst has 4 components. + // Alpha component is set to source alpha mask component. + // RGB components are set to fill color. + void copyUnscaledAlphaMask( LLImageRaw* src, const LLColor4U& fill); + // Src and dst can be any size. Src and dst have same number of components. void copyScaled( LLImageRaw* src ); |