summaryrefslogtreecommitdiff
path: root/riscos/artworks.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/artworks.c')
-rw-r--r--riscos/artworks.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/riscos/artworks.c b/riscos/artworks.c
index 385ec2b41..ecd3c3db2 100644
--- a/riscos/artworks.c
+++ b/riscos/artworks.c
@@ -224,8 +224,7 @@ void artworks_destroy(struct content *c)
*/
bool artworks_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)
{
static const ns_os_vdu_var_list vars = {
@@ -243,6 +242,11 @@ bool artworks_redraw(struct content *c, int x, int y,
os_trfm matrix;
int vals[24];
+ int clip_x0 = clip->x0;
+ int clip_y0 = clip->y0;
+ int clip_x1 = clip->x1;
+ int clip_y1 = clip->y1;
+
if (plot.flush && !plot.flush())
return false;