diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2009-09-13 08:11:53 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2009-09-13 08:11:53 +0000 |
commit | 26dcaed6ce4440bfc92f2c8f9383d193fe1a35bf (patch) | |
tree | 2b0862be6c1a2fa16ecd7c34e0cf586beab0e08b /sys/dev | |
parent | 01660d66a358f8abfe5d2661d8d708abca83d49c (diff) |
Use function pointers in erasecols and eraserows for framebuffer
operations, so we do compression in there as well.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/udl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/udl.c b/sys/dev/usb/udl.c index 9f893441d18..a7a67090814 100644 --- a/sys/dev/usb/udl.c +++ b/sys/dev/usb/udl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udl.c,v 1.37 2009/09/12 21:52:25 mglocker Exp $ */ +/* $OpenBSD: udl.c,v 1.38 2009/09/13 08:11:52 mglocker Exp $ */ /* * Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org> @@ -675,7 +675,7 @@ udl_erasecols(void *cookie, int row, int col, int num, long attr) cx = num * sc->sc_ri.ri_font->fontwidth; cy = sc->sc_ri.ri_font->fontheight; - r = udl_fb_block_write(sc, bgc, x, y, cx, cy); + r = (sc->udl_fb_block_write)(sc, bgc, x, y, cx, cy); if (r != 0) goto fail; @@ -714,7 +714,7 @@ udl_eraserows(void *cookie, int row, int num, long attr) cx = sc->sc_ri.ri_emuwidth; cy = num * sc->sc_ri.ri_font->fontheight; - r = udl_fb_block_write(sc, bgc, x, y, cx, cy); + r = (sc->udl_fb_block_write)(sc, bgc, x, y, cx, cy); if (r != 0) goto fail; |