From 9c36af15d18262d1d00f6ecbe08afe06e0cc23ac Mon Sep 17 00:00:00 2001 From: miod Date: Fri, 3 Feb 2023 18:34:24 +0000 Subject: [PATCH] RASOPS_CLIPPING is about screen coordinates, don't let it mess with color codes. NFC as this option is not enabled anywhere. --- sys/dev/rasops/rasops.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/dev/rasops/rasops.c b/sys/dev/rasops/rasops.c index 483f4a02c77..a3589c8407b 100644 --- a/sys/dev/rasops/rasops.c +++ b/sys/dev/rasops/rasops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rasops.c,v 1.69 2023/01/18 11:08:49 nicm Exp $ */ +/* $OpenBSD: rasops.c,v 1.70 2023/02/03 18:34:24 miod Exp $ */ /* $NetBSD: rasops.c,v 1.35 2001/02/02 06:01:01 marcus Exp $ */ /*- @@ -539,10 +539,6 @@ rasops_pack_cattr(void *cookie, int fg, int bg, int flg, uint32_t *attr) { int swap; -#ifdef RASOPS_CLIPPING - fg &= 7; - bg &= 7; -#endif if ((flg & WSATTR_BLINK) != 0) return (EINVAL); -- 2.20.1