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 #define RGB24(r, g, b)
details: https://anonhg.NetBSD.org/src/rev/88bd65a3d6cd
branches: trunk
changeset: 486089:88bd65a3d6cd
user: uch <uch%NetBSD.org@localhost>
date: Sat May 13 03:12:56 2000 +0000
description:
fix #define RGB24(r, g, b)
diffstat:
sys/arch/hpcmips/dev/video_subr.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 4d7b11bf6c06 -r 88bd65a3d6cd sys/arch/hpcmips/dev/video_subr.h
--- a/sys/arch/hpcmips/dev/video_subr.h Sat May 13 03:07:17 2000 +0000
+++ b/sys/arch/hpcmips/dev/video_subr.h Sat May 13 03:12:56 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: video_subr.h,v 1.1 2000/05/08 21:57:56 uch Exp $ */
+/* $NetBSD: video_subr.h,v 1.2 2000/05/13 03:12:56 uch Exp $ */
/*-
* Copyright (c) 2000 UCHIYAMA Yasushi. All rights reserved.
@@ -27,8 +27,8 @@
*/
#define LEGAL_CLUT_INDEX(x) ((x) >= 0 && (x) <= 255)
-#define RGB24(r, g, b) ((((r) << 24) & 0x00ff0000) | \
- (((g) << 16) & 0x0000ff00) | \
+#define RGB24(r, g, b) ((((r) << 16) & 0x00ff0000) | \
+ (((g) << 8) & 0x0000ff00) | \
(((b)) & 0x000000ff))
int cmap_work_alloc __P((u_int8_t **, u_int8_t **, u_int8_t **,
Home |
Main Index |
Thread Index |
Old Index