diff options
Diffstat (limited to 'image/mng.c')
-rw-r--r-- | image/mng.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/image/mng.c b/image/mng.c index 731f5f14e..0ba084f6a 100644 --- a/image/mng.c +++ b/image/mng.c @@ -68,7 +68,7 @@ static bool nsmng_process_data(struct content *c, const char *data, static bool nsmng_convert(struct content *c); static void nsmng_destroy(struct content *c); static bool nsmng_redraw(struct content *c, struct content_redraw_data *data, - const struct rect *clip); + const struct rect *clip, const struct redraw_context *ctx); static nserror nsmng_clone(const struct content *old, struct content **newc); static content_type nsmng_content_type(lwc_string *mime_type); @@ -686,7 +686,7 @@ void nsmng_destroy(struct content *c) bool nsmng_redraw(struct content *c, struct content_redraw_data *data, - const struct rect *clip) + const struct rect *clip, const struct redraw_context *ctx) { nsmng_content *mng = (nsmng_content *) c; bool ret; @@ -705,7 +705,7 @@ bool nsmng_redraw(struct content *c, struct content_redraw_data *data, if (data->repeat_y) flags |= BITMAPF_REPEAT_Y; - ret = plot.bitmap(data->x, data->y, data->width, data->height, + ret = ctx->plot->bitmap(data->x, data->y, data->width, data->height, c->bitmap, data->background_colour, flags); /* Check if we need to restart the animation |