Browse Source

Merge pull request #3601 from Kelimion/qoifix

Fix qoi encoding bug.
Jeroen van Rijn 1 year ago
parent
commit
5b92425e93
1 changed files with 0 additions and 2 deletions
  1. 0 2
      core/image/qoi/qoi.odin

+ 0 - 2
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)