From 64962b7b1b5682b2e13e8ad2aa8a0b3c1ce20410 Mon Sep 17 00:00:00 2001 From: Brandon Dyck Date: Mon, 10 Jan 2022 10:22:48 -0700 Subject: [PATCH] Fixed out-of-order Rgb fields --- lib/minifb/src/minifb.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/minifb/src/minifb.zig b/lib/minifb/src/minifb.zig index 3dbd8a7..744e422 100644 --- a/lib/minifb/src/minifb.zig +++ b/lib/minifb/src/minifb.zig @@ -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, };