From 26dcaed6ce4440bfc92f2c8f9383d193fe1a35bf Mon Sep 17 00:00:00 2001 From: Marcus Glocker Date: Sun, 13 Sep 2009 08:11:53 +0000 Subject: Use function pointers in erasecols and eraserows for framebuffer operations, so we do compression in there as well. --- sys/dev/usb/udl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev') 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 @@ -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; -- cgit v1.2.3