Merge pull request #3601 from Kelimion/qoifix

Fix qoi encoding bug.
This commit is contained in:
Jeroen van Rijn
2024-05-18 14:06:25 +02:00
committed by GitHub
-2
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)