There's no fucking way it just worked lol
This commit is contained in:
parent
0afb88e147
commit
094308ce0b
|
@ -264,7 +264,7 @@ int main(int argc, char **argv) {
|
|||
for (int ox = 0; ox < 8; ox++) {
|
||||
bool lit = sym_line & (0x80 >> ox);
|
||||
union color pixel = palette[quantized_image->pixels[
|
||||
x * 8 + ox + (y * 11 + oy) * args.width
|
||||
ox + (x + (y * 11 + oy) * args.width) * 8
|
||||
]];
|
||||
difference += get_color_difference(pixel, lit ? cell_fg : cell_bg);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue