summaryrefslogtreecommitdiff
path: root/riscos/artworks.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/artworks.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/artworks.c')
-rw-r--r--riscos/artworks.c4
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;