Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/rasops 4 is 1 << 2, not 1 << 3...
details: https://anonhg.NetBSD.org/src/rev/c404a0f95188
branches: trunk
changeset: 964419:c404a0f95188
user: rin <rin%NetBSD.org@localhost>
date: Thu Aug 01 03:38:12 2019 +0000
description:
4 is 1 << 2, not 1 << 3...
diffstat:
sys/dev/rasops/rasops4.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 13beb2a98a76 -r c404a0f95188 sys/dev/rasops/rasops4.c
--- a/sys/dev/rasops/rasops4.c Thu Aug 01 02:28:55 2019 +0000
+++ b/sys/dev/rasops/rasops4.c Thu Aug 01 03:38:12 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops4.c,v 1.22 2019/07/31 02:04:14 rin Exp $ */
+/* $NetBSD: rasops4.c,v 1.23 2019/08/01 03:38:12 rin Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rasops4.c,v 1.22 2019/07/31 02:04:14 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rasops4.c,v 1.23 2019/08/01 03:38:12 rin Exp $");
#include "opt_rasops.h"
@@ -167,6 +167,6 @@
* Grab routines common to depths where (bpp < 8)
*/
#define NAME(ident) rasops4_##ident
-#define PIXEL_SHIFT 3
+#define PIXEL_SHIFT 2
#include <dev/rasops/rasops_bitops.h>
Home |
Main Index |
Thread Index |
Old Index