mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix qoi encode bug.
This commit is contained in:
@@ -76,8 +76,6 @@ save_to_buffer :: proc(output: ^bytes.Buffer, img: ^Image, options := Options{}
|
|||||||
pix := RGBA_Pixel{0, 0, 0, 255}
|
pix := RGBA_Pixel{0, 0, 0, 255}
|
||||||
prev := pix
|
prev := pix
|
||||||
|
|
||||||
seen[qoi_hash(pix)] = pix
|
|
||||||
|
|
||||||
input := img.pixels.buf[:]
|
input := img.pixels.buf[:]
|
||||||
run := u8(0)
|
run := u8(0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user