summaryrefslogtreecommitdiff
path: root/image/jpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'image/jpeg.c')
-rw-r--r--image/jpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/image/jpeg.c b/image/jpeg.c
index d4f5f537d..10ff5736e 100644
--- a/image/jpeg.c
+++ b/image/jpeg.c
@@ -235,7 +235,7 @@ bool nsjpeg_redraw(struct content *c, int x, int y,
float scale, unsigned long background_colour)
{
return plot.bitmap(x, y, width, height,
- c->bitmap, background_colour);
+ c->bitmap, background_colour, c);
}
@@ -251,7 +251,7 @@ bool nsjpeg_redraw_tiled(struct content *c, int x, int y,
{
return plot.bitmap_tile(x, y, width, height,
c->bitmap, background_colour,
- repeat_x, repeat_y);
+ repeat_x, repeat_y, c);
}