mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a mistake in the last check-in.
This commit is contained in:
parent
deec72851b
commit
fd00effb69
1 changed files with 9 additions and 10 deletions
|
|
@ -265,19 +265,18 @@ public:
|
|||
|
||||
private:
|
||||
//==============================================================================
|
||||
struct Components
|
||||
{
|
||||
#if JUCE_BIG_ENDIAN
|
||||
uint8 a : 8, r : 8, g : 8, b : 8;
|
||||
#else
|
||||
uint8 b, g, r, a;
|
||||
#endif
|
||||
} PACKED;
|
||||
|
||||
union
|
||||
{
|
||||
uint32 argb;
|
||||
|
||||
struct Components
|
||||
{
|
||||
#if JUCE_BIG_ENDIAN
|
||||
uint8 a : 8, r : 8, g : 8, b : 8;
|
||||
#else
|
||||
uint8 b, g, r, a;
|
||||
#endif
|
||||
} PACKED;
|
||||
|
||||
Components components;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue