Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/dev fix WSDISPLAYIO_PUTCMAP bug.



details:   https://anonhg.NetBSD.org/src/rev/53cab1c4a6e7
branches:  trunk
changeset: 510162:53cab1c4a6e7
user:      uch <uch%NetBSD.org@localhost>
date:      Mon May 21 18:37:30 2001 +0000

description:
fix WSDISPLAYIO_PUTCMAP bug.

diffstat:

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

diffs (19 lines):

diff -r 65adf4906920 -r 53cab1c4a6e7 sys/arch/hpcmips/dev/plumvideo.c
--- a/sys/arch/hpcmips/dev/plumvideo.c  Mon May 21 18:26:48 2001 +0000
+++ b/sys/arch/hpcmips/dev/plumvideo.c  Mon May 21 18:37:30 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: plumvideo.c,v 1.17 2001/02/22 18:38:01 uch Exp $ */
+/*     $NetBSD: plumvideo.c,v 1.18 2001/05/21 18:37:30 uch Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -476,6 +476,9 @@
                        cmap_work_free(r, g, b, rgb);
                        return  (ENOMEM);
                }
+               copyin(cmap->red,   r, cnt);
+               copyin(cmap->green, g, cnt);
+               copyin(cmap->blue,  b, cnt);
                rgb24_compose(rgb, r, g, b, cnt);
                plumvideo_clut_set(sc, rgb, idx, cnt);
 



Home | Main Index | Thread Index | Old Index