aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2022-05-15 12:43:54 +0000
committerPo Lu2022-05-15 12:44:59 +0000
commit22873b5415fbcc81f2d1e0e69cccd5dbeaac51ee (patch)
tree92bb1fc26af75505388e7c88135ec3002e01b8a6 /src
parent0da7689b167dd92c0ac307122be0a742a10abfb4 (diff)
downloademacs-22873b5415fbcc81f2d1e0e69cccd5dbeaac51ee.tar.gz
emacs-22873b5415fbcc81f2d1e0e69cccd5dbeaac51ee.zip
Make Haiku stipple display slightly faster
* src/haikuterm.c (haiku_draw_stipple_background): Draw tiled bitmap to end of stipple instead of the end of the frame.
Diffstat (limited to 'src')
-rw-r--r--src/haikuterm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/haikuterm.c b/src/haikuterm.c
index df0cd82a39e..ed8040edc91 100644
--- a/src/haikuterm.c
+++ b/src/haikuterm.c
@@ -1090,8 +1090,7 @@ haiku_draw_stipple_background (struct glyph_string *s, struct face *face,
1090 haiku_clip_to_string (s); 1090 haiku_clip_to_string (s);
1091 BView_ClipToRect (view, x, y, width, height); 1091 BView_ClipToRect (view, x, y, width, height);
1092 BView_DrawBitmapTiled (view, rec->img, 0, 0, -1, -1, 1092 BView_DrawBitmapTiled (view, rec->img, 0, 0, -1, -1,
1093 0, 0, FRAME_PIXEL_WIDTH (s->f), 1093 0, 0, x + width, y + height);
1094 FRAME_PIXEL_HEIGHT (s->f));
1095 BView_EndClip (view); 1094 BView_EndClip (view);
1096} 1095}
1097 1096