Put the elements of rgba_t in the right order. Thanks to @mrshankly for noticing it

This commit is contained in:
LemonBoy 2015-02-15 23:54:04 +01:00
parent 1ef64eab99
commit 4ee19586a3

4
bar.c
View File

@ -44,9 +44,9 @@ typedef struct area_t {
typedef union rgba_t { typedef union rgba_t {
struct { struct {
uint8_t r;
uint8_t g;
uint8_t b; uint8_t b;
uint8_t g;
uint8_t r;
uint8_t a; uint8_t a;
}; };
uint32_t v; uint32_t v;