Put the elements of rgba_t in the right order. Thanks to @mrshankly for noticing it
This commit is contained in:
parent
1ef64eab99
commit
4ee19586a3
4
bar.c
4
bar.c
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user