mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-16 00:34:19 +00:00
This commit is contained in:
parent
b9318749d5
commit
e7c8abea2a
1 changed files with 2 additions and 2 deletions
|
|
@ -1477,7 +1477,7 @@ void LowLevelGraphicsSoftwareRenderer::clippedFillAlphaChannelWithColour (int cl
|
|||
const uint8* const alphaValues
|
||||
= clipImage.lockPixelDataReadOnly (sx, sy, w, h, alphaStride, pixelStride);
|
||||
|
||||
#if JUCE_MAC
|
||||
#if JUCE_BIG_ENDIAN
|
||||
const uint8* const alphas = alphaValues;
|
||||
#else
|
||||
const uint8* const alphas = alphaValues + (clipImage.getFormat() == Image::ARGB ? 3 : 0);
|
||||
|
|
@ -1578,7 +1578,7 @@ void LowLevelGraphicsSoftwareRenderer::clippedFillAlphaChannelWithImage (int x,
|
|||
const uint8* const alpha
|
||||
= alphaImage.lockPixelDataReadOnly (x - alphaImageX, y - alphaImageY, w, h, maskStride, maskPixStride);
|
||||
|
||||
#if JUCE_MAC
|
||||
#if JUCE_BIG_ENDIAN
|
||||
const uint8* const alphaValues = alpha;
|
||||
#else
|
||||
const uint8* const alphaValues = alpha + (alphaImage.getFormat() == Image::ARGB ? 3 : 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue