summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/scgfbrndr.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2005-09-28 14:54:07 +0000
committermarius <marius@FreeBSD.org>2005-09-28 14:54:07 +0000
commitfe0a34c8f15fa82e0fec35f34ee9c6efe4abdcc4 (patch)
treebb4b1851d014027e2b948702d0726e8539fa0e12 /sys/dev/syscons/scgfbrndr.c
parent2d942f188d24ea6077fd2e56a8676851b448c161 (diff)
downloadFreeBSD-src-fe0a34c8f15fa82e0fec35f34ee9c6efe4abdcc4.zip
FreeBSD-src-fe0a34c8f15fa82e0fec35f34ee9c6efe4abdcc4.tar.gz
Add a font width argument to vi_load_font_t, vi_save_font_t and vi_putm_t
and do some preparations for handling 12x22 fonts (currently lots of code implies and/or hardcodes a font width of 8 pixels). This will be required on sparc64 which uses a default font size of 12x22 in order to add font loading and saving support as well as to use a syscons(4)-supplied mouse pointer image. This API breakage is committed now so it can be MFC'ed in time for 6.0 and later on upcoming framebuffer drivers destined for use on sparc64 and which are expected to rely on using font loading internally and on a syscons(4)-supplied mouse pointer image can be easily MFC'ed to RELENG_6 rather than requiring a backport. Tested on: i386, sparc64, make universe MFC after: 1 week
Diffstat (limited to 'sys/dev/syscons/scgfbrndr.c')
-rw-r--r--sys/dev/syscons/scgfbrndr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/syscons/scgfbrndr.c b/sys/dev/syscons/scgfbrndr.c
index 32a9166..fa522f8 100644
--- a/sys/dev/syscons/scgfbrndr.c
+++ b/sys/dev/syscons/scgfbrndr.c
@@ -323,7 +323,7 @@ gfb_mouse(scr_stat *scp, int x, int y, int on)
/* Display the mouse pointer image... */
(*vidsw[scp->sc->adapter]->putm)(scp->sc->adp, x, y,
- mouse_pointer, 0xffffffff, 16);
+ mouse_pointer, 0xffffffff, 16, 8);
} else {
/*
OpenPOWER on IntegriCloud