We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e089f32 commit 8b30494Copy full SHA for 8b30494
shared-module/bitmapfilter/__init__.c
@@ -498,8 +498,8 @@ void shared_module_bitmapfilter_blend(
498
int r2 = FIVE_TO_SIX(COLOR_RGB565_TO_R5(pixel2));
499
int r = SIX_TO_FIVE(lookup[r1 * 64 + r2]);
500
501
- int g1 = COLOR_RGB565_TO_R5(pixel1);
502
- int g2 = COLOR_RGB565_TO_R5(pixel2);
+ int g1 = COLOR_RGB565_TO_G6(pixel1);
+ int g2 = COLOR_RGB565_TO_G6(pixel2);
503
int g = lookup[g1 * 64 + g2];
504
505
int b1 = FIVE_TO_SIX(COLOR_RGB565_TO_B5(pixel1));
0 commit comments