diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-11-29 19:08:24 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-11-29 19:08:24 +0000 |
commit | f1383d2d04a9e6ec1da4df59ac0ff1478bb10f9b (patch) | |
tree | 512b51f4e326e33ded20210f85a3a55fcc606db9 /sys/arch/luna88k/dev | |
parent | 1b439ba33ce246b10f77ec8ccd4790e890966526 (diff) |
Add an unpack_attr function to struct wsdisplay_emulops, to match the
existing alloc_attr function. This allows rasops_unpack_attr to be kept
private to rasops, yet available to the screen drivers.
Diffstat (limited to 'sys/arch/luna88k/dev')
-rw-r--r-- | sys/arch/luna88k/dev/omrasops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/luna88k/dev/omrasops.c b/sys/arch/luna88k/dev/omrasops.c index 9a71a3c3013..8aeea17eb50 100644 --- a/sys/arch/luna88k/dev/omrasops.c +++ b/sys/arch/luna88k/dev/omrasops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: omrasops.c,v 1.3 2006/08/06 13:04:33 miod Exp $ */ +/* $OpenBSD: omrasops.c,v 1.4 2006/11/29 19:08:22 miod Exp $ */ /* $NetBSD: omrasops.c,v 1.1 2000/01/05 08:48:56 nisimura Exp $ */ /*- @@ -94,7 +94,7 @@ om_putchar(cookie, row, startcol, uc, attr) height = ri->ri_font->fontheight; fb = ri->ri_font->data + (uc - ri->ri_font->firstchar) * ri->ri_fontscale; - rasops_unpack_attr(attr, &fg, &bg, NULL); + ri->ri_ops.unpack_attr(cookie, attr, &fg, &bg, NULL); inverse = (bg != 0) ? ALL1BITS : ALL0BITS; p = (caddr_t)ri->ri_bits + y * scanspan + ((startx / 32) * 4); |