sys/windows: fix build issues

This commit is contained in:
hikari
2022-04-30 13:40:38 +03:00
parent 8c7f3fd1e6
commit d2bac0c35e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -69,6 +69,6 @@ foreign gdi32 {
// Windows colors are packed as ABGR
RGB :: #force_inline proc "contextless" (r, g, b: u8) -> COLORREF {
res: [4]u8 = {0, rgb.b, rgb.g, rgb.r}
res: [4]u8 = {0, b, g, r}
return transmute(COLORREF)res
}