summaryrefslogtreecommitdiff
path: root/riscos/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/draw.c')
-rw-r--r--riscos/draw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/riscos/draw.c b/riscos/draw.c
index f172de8b5..75caacda2 100644
--- a/riscos/draw.c
+++ b/riscos/draw.c
@@ -15,6 +15,7 @@
#include <stdlib.h>
#include "oslib/drawfile.h"
#include "netsurf/utils/config.h"
+#include "netsurf/desktop/plotters.h"
#include "netsurf/content/content.h"
#include "netsurf/riscos/draw.h"
#include "netsurf/riscos/gui.h"
@@ -86,6 +87,9 @@ bool draw_redraw(struct content *c, int x, int y,
os_error *error;
os_trfm matrix;
+ 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;