diff options
Diffstat (limited to 'image/webp.c')
-rw-r--r-- | image/webp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/image/webp.c b/image/webp.c index 8702b0a3b..cabd40a3f 100644 --- a/image/webp.c +++ b/image/webp.c @@ -48,7 +48,7 @@ static nserror webp_create(const content_handler *handler, static bool webp_convert(struct content *c); static void webp_destroy(struct content *c); static bool webp_redraw(struct content *c, struct content_redraw_data *data, - const struct rect *clip); + const struct rect *clip, const struct redraw_context *ctx); static nserror webp_clone(const struct content *old, struct content **newc); static content_type webp_content_type(lwc_string *mime_type); @@ -212,7 +212,7 @@ void webp_destroy(struct content *c) */ bool webp_redraw(struct content *c, struct content_redraw_data *data, - const struct rect *clip) + const struct rect *clip, const struct redraw_context *ctx) { bitmap_flags_t flags = BITMAPF_NONE; @@ -221,7 +221,7 @@ bool webp_redraw(struct content *c, struct content_redraw_data *data, if (data->repeat_y) flags |= BITMAPF_REPEAT_Y; - return plot.bitmap(data->x, data->y, data->width, data->height, + return ctx->plot->bitmap(data->x, data->y, data->width, data->height, c->bitmap, data->background_colour, flags); } |