Module Name: src Committed By: rin Date: Sat Nov 20 00:17:10 UTC 2021
Modified Files: src/sys/arch/zaurus/dev: w100.c Log Message: - Accept anti-aliased fonts. - Clear garbage from screen when attach. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/zaurus/dev/w100.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/zaurus/dev/w100.c diff -u src/sys/arch/zaurus/dev/w100.c:1.3 src/sys/arch/zaurus/dev/w100.c:1.4 --- src/sys/arch/zaurus/dev/w100.c:1.3 Sat Nov 21 17:22:03 2020 +++ src/sys/arch/zaurus/dev/w100.c Sat Nov 20 00:17:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: w100.c,v 1.3 2020/11/21 17:22:03 thorpej Exp $ */ +/* $NetBSD: w100.c,v 1.4 2021/11/20 00:17:10 rin Exp $ */ /* * Copyright (c) 2002, 2003 Genetec Corporation. All rights reserved. * Written by Hiroyuki Bessho for Genetec Corporation. @@ -28,7 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: w100.c,v 1.3 2020/11/21 17:22:03 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: w100.c,v 1.4 2021/11/20 00:17:10 rin Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -257,7 +257,7 @@ w100_setup_rasops(struct w100_softc *sc, struct w100_wsscreen_descr *descr, const struct w100_panel_geometry *geom) { - rinfo->ri_flg = descr->flags; + rinfo->ri_flg = descr->flags | RI_CLEAR | RI_ENABLE_ALPHA; rinfo->ri_depth = descr->depth; rinfo->ri_width = sc->display_width; rinfo->ri_height = sc->display_height;