diff options
author | 2021-03-12 23:42:50 +0000 | |
---|---|---|
committer | 2021-03-12 23:42:50 +0000 | |
commit | 1278486711992b21be9a37e27e334687ea6fa24a (patch) | |
tree | ec6460465784ccfe10cf3e301cbdaffcd10835a9 | |
parent | sync (diff) | |
download | wireguard-openbsd-1278486711992b21be9a37e27e334687ea6fa24a.tar.xz wireguard-openbsd-1278486711992b21be9a37e27e334687ea6fa24a.zip |
Add WSDISPLAYIO_DEPTH_30 in order to support 30-bit color support.
ok jsg@
-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) |