artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c123c26
)
RASOPS_CLIPPING is about screen coordinates, don't let it mess with color
author
miod
<miod@openbsd.org>
Fri, 3 Feb 2023 18:34:24 +0000
(18:34 +0000)
committer
miod
<miod@openbsd.org>
Fri, 3 Feb 2023 18:34:24 +0000
(18:34 +0000)
codes. NFC as this option is not enabled anywhere.
sys/dev/rasops/rasops.c
patch
|
blob
|
history
diff --git
a/sys/dev/rasops/rasops.c
b/sys/dev/rasops/rasops.c
index
483f4a0
..
a3589c8
100644
(file)
--- 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);