summaryrefslogtreecommitdiff
path: root/gfx/gfx.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-29 22:11:04 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-29 22:22:03 -0300
commit9fa6e29c6bbd1cb2f1c3b988267c12522baae08a (patch)
treefb88db19f6b9f08c9bdb459bd669ece67324e454 /gfx/gfx.c
parent5c7199fb2fced0064092c621107f4ff30f82f940 (diff)
downloadeeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.tar.gz
eeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.tar.bz2
eeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.zip
add "extra" filtering at gfx_end (this fixed -e for all Cairo formats)
Diffstat (limited to 'gfx/gfx.c')
-rw-r--r--gfx/gfx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/gfx.c b/gfx/gfx.c
index bc1a318..01d04f3 100644
--- a/gfx/gfx.c
+++ b/gfx/gfx.c
@@ -187,12 +187,12 @@ void gfx_destroy(struct gfx *gfx)
}
-int gfx_end(struct gfx *gfx)
+int gfx_end(struct gfx *gfx, enum gfx_extra extra)
{
int res = 0;
if (gfx->ops->end)
- res = gfx->ops->end(gfx->user);
+ res = gfx->ops->end(gfx->user, extra);
gfx_destroy(gfx);
return res;
}