diff options
Diffstat (limited to 'riscos/artworks.c')
-rw-r--r-- | riscos/artworks.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/riscos/artworks.c b/riscos/artworks.c index ac698f69e..ec3833bed 100644 --- a/riscos/artworks.c +++ b/riscos/artworks.c @@ -18,6 +18,7 @@ #include "oslib/os.h" #include "oslib/wimp.h" #include "netsurf/utils/config.h" +#include "netsurf/desktop/plotters.h" #include "netsurf/content/content.h" #include "netsurf/riscos/artworks.h" #include "netsurf/riscos/gui.h" @@ -214,6 +215,9 @@ bool artworks_redraw(struct content *c, int x, int y, os_trfm matrix; int vals[24]; + if (plot.flush && !plot.flush()) + return false; + /* Scaled image. Transform units (65536*OS units) */ matrix.entries[0][0] = width * 65536 / c->width; matrix.entries[0][1] = 0; |