From 7955f4ddf118b0545defedabae8b541ab4624672 Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Sat, 18 May 2024 13:59:50 +0200 Subject: [PATCH] Fix qoi encode bug. --- core/image/qoi/qoi.odin | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/image/qoi/qoi.odin b/core/image/qoi/qoi.odin index dfdf1875a..987a48e5b 100644 --- a/core/image/qoi/qoi.odin +++ b/core/image/qoi/qoi.odin @@ -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)