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