diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-03-12 23:42:51 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-03-12 23:42:51 +0000 |
commit | 811148e9bed31a794ea22c5653fb4baaf18b76d7 (patch) | |
tree | 445ffbd14a7ee26b3a6c48a6cea3c3de3c17d1c3 /sys/dev | |
parent | e07e031d9abe726c141015a795720f68b72fc0a2 (diff) |
Add WSDISPLAYIO_DEPTH_30 in order to support 30-bit color support.
ok jsg@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/wscons/wsconsio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h index 7c3fc7ae73e..9a3fbb142dc 100644 --- a/sys/dev/wscons/wsconsio.h +++ b/sys/dev/wscons/wsconsio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsconsio.h,v 1.96 2021/03/03 19:44:37 bru Exp $ */ +/* $OpenBSD: wsconsio.h,v 1.97 2021/03/12 23:42:50 kettenis Exp $ */ /* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */ /* @@ -596,6 +596,7 @@ struct wsdisplay_param { #define WSDISPLAYIO_DEPTH_24_24 0x20 #define WSDISPLAYIO_DEPTH_24_32 0x40 #define WSDISPLAYIO_DEPTH_24 (WSDISPLAYIO_DEPTH_24_24|WSDISPLAYIO_DEPTH_24_32) +#define WSDISPLAYIO_DEPTH_30 0x80 #define WSDISPLAYIO_GETSUPPORTEDDEPTH _IOR('W', 92, unsigned int) |