summaryrefslogtreecommitdiff
path: root/image/gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'image/gif.c')
-rw-r--r--image/gif.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/image/gif.c b/image/gif.c
index ce2d19a4b..8745942cd 100644
--- a/image/gif.c
+++ b/image/gif.c
@@ -152,8 +152,7 @@ void nsgif_invalidate(void *bitmap, void *private_word)
}
bool nsgif_redraw(struct content *c, int x, int y,
- int width, int height,
- int clip_x0, int clip_y0, int clip_x1, int clip_y1,
+ int width, int height, struct rect *clip,
float scale, colour background_colour)
{
if (c->data.gif.current_frame != c->data.gif.gif->decoded_frame)
@@ -168,8 +167,7 @@ bool nsgif_redraw(struct content *c, int x, int y,
bool nsgif_redraw_tiled(struct content *c, int x, int y,
- int width, int height,
- int clip_x0, int clip_y0, int clip_x1, int clip_y1,
+ int width, int height, struct rect *clip,
float scale, colour background_colour,
bool repeat_x, bool repeat_y)
{