summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/html_redraw.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index 3e70168c0..2dd788a94 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -102,8 +102,7 @@ bool html_redraw(struct content *c, int x, int y,
box = c->data.html.layout;
assert(box);
- if (option_knockout_rendering)
- knockout_plot_start(&plot);
+ knockout_plot_start(&plot);
/* clear to background colour */
plot.clip(clip_x0, clip_y0, clip_x1, clip_y1);
@@ -115,8 +114,7 @@ bool html_redraw(struct content *c, int x, int y,
clip_x0, clip_y0, clip_x1, clip_y1,
scale, background_colour);
- if (option_knockout_rendering)
- knockout_plot_end();
+ knockout_plot_end();
return result;