1
0
Fork 0
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:
jules 2011-10-13 16:53:04 +01:00
parent deec72851b
commit fd00effb69

View file

@ -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;
};
}