summaryrefslogtreecommitdiff
path: root/src/gd_gif_out.c
diff options
context:
space:
mode:
authorpajoye <none@none>2006-10-08 16:42:47 +0000
committerpajoye <none@none>2006-10-08 16:42:47 +0000
commit9575411e8d2c7213d0d3b02830e2d4abc9741e34 (patch)
tree7a500830019382eeb7b641f0b2cd55464be9aaf2 /src/gd_gif_out.c
parentd3c21787a944e4530711c64b45d77302dd104671 (diff)
downloadlibgd-9575411e8d2c7213d0d3b02830e2d4abc9741e34.tar.gz
- #4, TrueColor transparency with GIF palette output
Diffstat (limited to 'src/gd_gif_out.c')
-rw-r--r--src/gd_gif_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gd_gif_out.c b/src/gd_gif_out.c
index 7fd7f14..27bc0c4 100644
--- a/src/gd_gif_out.c
+++ b/src/gd_gif_out.c
@@ -135,7 +135,7 @@ BGD_DECLARE(void) gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out)
BitsPerPixel = colorstobpp(tim->colorsTotal);
/* All set, let's do it. */
GIFEncode(
- out, tim->sx, tim->sy, interlace, 0, transparent, BitsPerPixel,
+ out, tim->sx, tim->sy, interlace, 0, tim->transparent, BitsPerPixel,
tim->red, tim->green, tim->blue, tim);
if (pim) {
/* Destroy palette based temporary image. */