Fixed out-of-order Rgb fields

This commit is contained in:
Brandon Dyck 2022-01-10 10:22:48 -07:00
parent 3445df5315
commit 64962b7b1b

View File

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