From e7c8abea2a3a2564f7ced099c6e8cb2900f008bc Mon Sep 17 00:00:00 2001 From: jules Date: Fri, 29 Aug 2008 19:57:35 +0000 Subject: [PATCH] --- .../contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp b/src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp index 3d6bf16313..f05e7a6186 100644 --- a/src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp +++ b/src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp @@ -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);