mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
PixelRGB: Fix pixel order issue when creating CGImages on iOS
This commit is contained in:
parent
0e12c2da92
commit
a889149cbd
1 changed files with 2 additions and 2 deletions
|
|
@ -556,7 +556,7 @@ public:
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
/** The indexes of the different components in the byte layout of this type of colour. */
|
/** The indexes of the different components in the byte layout of this type of colour. */
|
||||||
#if JUCE_MAC
|
#if JUCE_MAC || JUCE_IOS
|
||||||
enum { indexR = 0, indexG = 1, indexB = 2 };
|
enum { indexR = 0, indexG = 1, indexB = 2 };
|
||||||
#else
|
#else
|
||||||
enum { indexR = 2, indexG = 1, indexB = 0 };
|
enum { indexR = 2, indexG = 1, indexB = 0 };
|
||||||
|
|
@ -578,7 +578,7 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
#if JUCE_MAC
|
#if JUCE_MAC || JUCE_IOS
|
||||||
uint8 r, g, b;
|
uint8 r, g, b;
|
||||||
#else
|
#else
|
||||||
uint8 b, g, r;
|
uint8 b, g, r;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue