Fix qoi encode bug.

This commit is contained in:
Jeroen van Rijn
2024-05-18 13:59:50 +02:00
parent 98f8624447
commit 7955f4ddf1

View File

@@ -76,8 +76,6 @@ save_to_buffer :: proc(output: ^bytes.Buffer, img: ^Image, options := Options{}
pix := RGBA_Pixel{0, 0, 0, 255}
prev := pix
seen[qoi_hash(pix)] = pix
input := img.pixels.buf[:]
run := u8(0)