There's no fucking way it just worked lol

This commit is contained in:
Casey 2024-09-30 13:41:31 +03:00
parent 0afb88e147
commit 094308ce0b
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}