aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-08-03 18:53:39 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-08-05 17:51:42 +0000
commit67e285f16cdb1f0e85caa1c2921c022f2c9d5b03 (patch)
treed19b9b72ef18bfe3bbb4b298c7765e4c58ae472c
parentMerge branch 'box-drawing-wedges' (diff)
box-drawing: don’t inline light diagional
-rw-r--r--box-drawing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/box-drawing.c b/box-drawing.c
index 85a2d4be..8ed84f04 100644
--- a/box-drawing.c
+++ b/box-drawing.c
@@ -1432,7 +1432,7 @@ draw_box_drawings_light_arc(struct buf *buf, wchar_t wc)
}
}
-static void
+static void NOINLINE
draw_box_drawings_light_diagonal_upper_right_to_lower_left(struct buf *buf)
{
pixman_trapezoid_t trap = {
@@ -1463,7 +1463,7 @@ draw_box_drawings_light_diagonal_upper_right_to_lower_left(struct buf *buf)
pixman_rasterize_trapezoid(buf->pix, &trap, 0, 0);
}
-static void
+static void NOINLINE
draw_box_drawings_light_diagonal_upper_left_to_lower_right(struct buf *buf)
{
pixman_trapezoid_t trap = {