diff --git a/source/draw.c b/source/draw.c index 4f1d80d..7eb78c3 100644 --- a/source/draw.c +++ b/source/draw.c @@ -75,8 +75,8 @@ void draw_qr(void) rgba8_buf[i] = RGB565_TO_RGBA8(buf[i]); u8 *byte_pointer = (u8*)&rgba8_buf[i]; u8 r = *(byte_pointer+3); - u8 b = *(byte_pointer+2); - u8 g = *(byte_pointer+1); + u8 g = *(byte_pointer+2); + u8 b = *(byte_pointer+1); u8 a = *(byte_pointer); rgba8_buf[i] = RGBA8(r, g, b, a); } diff --git a/source/pp2d b/source/pp2d index 3b31385..77d7b18 160000 --- a/source/pp2d +++ b/source/pp2d @@ -1 +1 @@ -Subproject commit 3b31385a576e6898109d555d90fd6340a4ab09b3 +Subproject commit 77d7b18ec97ee9c83a77396098e425137d2dd70d