summaryrefslogtreecommitdiff
path: root/riscos/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/window.c')
-rw-r--r--riscos/window.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/riscos/window.c b/riscos/window.c
index 4f80647f5..5da8662b6 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -1437,7 +1437,11 @@ void ro_gui_window_redraw(wimp_draw *redraw)
/* rendering textplain has no advantages using knockout rendering other
* than to slow things down. */
- if (c->type == CONTENT_TEXTPLAIN || c->type == CONTENT_SVG)
+ if (c->type == CONTENT_TEXTPLAIN
+#ifdef WITH_NS_SVG
+ || c->type == CONTENT_SVG
+#endif
+ )
knockout = false;
/* HTML rendering handles scale itself */