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.
This commit is contained in:
Po Lu 2022-05-15 12:43:54 +00:00
parent 0da7689b16
commit 22873b5415

View file

@ -1090,8 +1090,7 @@ haiku_draw_stipple_background (struct glyph_string *s, struct face *face,
haiku_clip_to_string (s);
BView_ClipToRect (view, x, y, width, height);
BView_DrawBitmapTiled (view, rec->img, 0, 0, -1, -1,
0, 0, FRAME_PIXEL_WIDTH (s->f),
FRAME_PIXEL_HEIGHT (s->f));
0, 0, x + width, y + height);
BView_EndClip (view);
}