summaryrefslogtreecommitdiff
path: root/riscos/draw.c
diff options
context:
space:
mode:
authorAdrian Lees <adrian@aemulor.com>2006-08-19 19:31:07 +0000
committerAdrian Lees <adrian@aemulor.com>2006-08-19 19:31:07 +0000
commit7aaa33d2e5c2e2473339b9851c606cb8beb46d0c (patch)
tree637feeeb43b0c2ae1c5b4bc4d6369432540f0b45 /riscos/draw.c
parent66c4906fb6748516eb68e0f3320db692251362be (diff)
downloadnetsurf-7aaa33d2e5c2e2473339b9851c606cb8beb46d0c.tar.gz
netsurf-7aaa33d2e5c2e2473339b9851c606cb8beb46d0c.tar.bz2
Fix for knockout rendering of native formats
svn path=/trunk/netsurf/; revision=2869
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;