shithub: riscv

Download patch

ref: c135b5af7abfefe595e109a90becc0281892a9ba
parent: 5075dd35335981e0d79af16f9482c87fc6615f68
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Fri Sep 16 07:21:45 EDT 2011

gif: fix transparency for animations

--- a/sys/src/cmd/jpg/gif.c
+++ b/sys/src/cmd/jpg/gif.c
@@ -52,7 +52,7 @@
 	border(screen, r, -Border, nil, ZP);
 	r.min.x += allims[which]->r.min.x - allims[0]->r.min.x;
 	r.min.y += allims[which]->r.min.y - allims[0]->r.min.y;
-	drawop(screen, r, allims[which], allmasks[which], allims[which]->r.min, S);
+	drawop(screen, r, allims[which], allmasks[which], allims[which]->r.min, SoverD);
 	flushimage(display, 1);
 }