Apply fix to QOI decoder as well.
This commit is contained in:
1 parent
5b92425e93
commit
58a1bb32e5
1 file changed
-1
@@ -240,7 +240,6 @@ load_from_context :: proc(ctx: ^$C, options := Options{}, allocator := context.a
|
|||||||
*/
|
*/
|
||||||
seen: [64]RGBA_Pixel
|
seen: [64]RGBA_Pixel
|
||||||
pix := RGBA_Pixel{0, 0, 0, 255}
|
pix := RGBA_Pixel{0, 0, 0, 255}
|
||||||
seen[qoi_hash(pix)] = pix
|
|
||||||
pixels := img.pixels.buf[:]
|
pixels := img.pixels.buf[:]
|
||||||
|
|
||||||
decode: for len(pixels) > 0 {
|
decode: for len(pixels) > 0 {
|
||||||
|
|||||||
Reference in new issue
Block a user