Fixed out-of-order Rgb fields
This commit is contained in:
parent
3445df5315
commit
64962b7b1b
@ -7,9 +7,9 @@ const c = @cImport({
|
||||
const testing = std.testing;
|
||||
|
||||
pub const Rgb = packed struct {
|
||||
r: u8,
|
||||
g: u8,
|
||||
b: u8,
|
||||
g: u8,
|
||||
r: u8,
|
||||
_reserved: u8 = 0,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user