Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/tx forgot to set HPCFB_ACCESS_REVERSE.



details:   https://anonhg.NetBSD.org/src/rev/5a5dd98fcb97
branches:  trunk
changeset: 498393:5a5dd98fcb97
user:      uch <uch%NetBSD.org@localhost>
date:      Sun Oct 22 12:49:27 2000 +0000

description:
forgot to set HPCFB_ACCESS_REVERSE.

diffstat:

 sys/arch/hpcmips/tx/tx3912video.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 1c89f39f8969 -r 5a5dd98fcb97 sys/arch/hpcmips/tx/tx3912video.c
--- a/sys/arch/hpcmips/tx/tx3912video.c Sun Oct 22 12:44:16 2000 +0000
+++ b/sys/arch/hpcmips/tx/tx3912video.c Sun Oct 22 12:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tx3912video.c,v 1.19 2000/10/22 10:33:02 uch Exp $ */
+/*     $NetBSD: tx3912video.c,v 1.20 2000/10/22 12:49:27 uch Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -260,6 +260,9 @@
        fb->hf_access_flags |= HPCFB_ACCESS_BYTE;
        fb->hf_access_flags |= HPCFB_ACCESS_WORD;
        fb->hf_access_flags |= HPCFB_ACCESS_DWORD;
+       if (video_reverse_color())
+               fb->hf_access_flags |= HPCFB_ACCESS_REVERSE;
+
 
        switch (chip->vc_fbdepth) {
        default:



Home | Main Index | Thread Index | Old Index