mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-16 17:22:29 +02:00
ubb-vga/ppmimg.c (pattern): corrected the pattern for un-doubled pixels
This commit is contained in:
parent
080978ade0
commit
f0eda51391
@ -24,7 +24,7 @@ char *img_name;
|
||||
|
||||
static uint8_t pattern(int r, int g, int b)
|
||||
{
|
||||
return ((r ? R_VAL : 0) | (g ? G_VAL : 0) | (b ? B_VAL : 0))*0x11;
|
||||
return (r ? R_VAL : 0) | (g ? G_VAL : 0) | (b ? B_VAL : 0);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user