Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/zaurus/dev - Accept anti-aliased fonts.



details:   https://anonhg.NetBSD.org/src/rev/d71455d62406
branches:  trunk
changeset: 1026354:d71455d62406
user:      rin <rin%NetBSD.org@localhost>
date:      Sat Nov 20 00:17:10 2021 +0000

description:
- Accept anti-aliased fonts.
- Clear garbage from screen when attach.

diffstat:

 sys/arch/zaurus/dev/w100.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r efa7bb7a42ef -r d71455d62406 sys/arch/zaurus/dev/w100.c
--- a/sys/arch/zaurus/dev/w100.c        Sat Nov 20 00:15:04 2021 +0000
+++ b/sys/arch/zaurus/dev/w100.c        Sat Nov 20 00:17:10 2021 +0000
@@ -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 @@
     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;



Home | Main Index | Thread Index | Old Index