summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrin <rin@NetBSD.org>2019-08-01 03:38:12 +0000
committerrin <rin@NetBSD.org>2019-08-01 03:38:12 +0000
commit80e95edd567ebbd10fa0efc8b572130fe45fd9d6 (patch)
treecd6f78dfd562cc1d9857d1085b7bfde8200e9cbc
parent66db15844adc0c8564697b54d4db8f38529efed6 (diff)
4 is 1 << 2, not 1 << 3...
-rw-r--r--sys/dev/rasops/rasops4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/rasops/rasops4.c b/sys/dev/rasops/rasops4.c
index 84f411ed363..201b3f8a257 100644
--- a/sys/dev/rasops/rasops4.c
+++ b/sys/dev/rasops/rasops4.c
@@ -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 @@ rasops4_makestamp(struct rasops_info *ri, long attr)
* 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>