[PATCH 1/5] include/dxgi.idl: fix typo in DXGI_SWAP_CHAIN_FLAG_RESTRICTED_CONTENT member name

Zebediah Figura zfigura at codeweavers.com
Thu Aug 13 11:13:58 CDT 2020


On 8/13/20 9:09 AM, Biswapriyo Nath wrote:
> 
> From 822b528004db5b996a39bf72ccabfefab47d0a1b Mon Sep 17 00:00:00 2001
> From: Biswapriyo Nath <nathbappai at gmail.com>
> Date: Thu, 13 Aug 2020 19:36:31 +0530
> Subject: [PATCH 1/5] include/dxgi.idl: fix typo in DXGI_SWAP_CHAIN_FLAG_RESTRICTED_CONTENT member name
> 
> Also add missing DXGI_DISPLAY_COLOR_SPACE structure

These sound like two separate changes, and as such should probably not
occupy the same patch.

> 
> Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
> ---
>  include/dxgi.idl | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/include/dxgi.idl b/include/dxgi.idl
> index c2960fd..65c5a4b 100644
> --- a/include/dxgi.idl
> +++ b/include/dxgi.idl
> @@ -119,7 +119,7 @@ typedef enum DXGI_SWAP_CHAIN_FLAG
>      DXGI_SWAP_CHAIN_FLAG_NONPREROTATED                          = 0x0001,
>      DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH                      = 0x0002,
>      DXGI_SWAP_CHAIN_FLAG_GDI_COMPATIBLE                         = 0x0004,
> -    DXGI_SWAP_CHAIN_FLAG_RESTRICTED_CONTEXT                     = 0x0008,
> +    DXGI_SWAP_CHAIN_FLAG_RESTRICTED_CONTENT                     = 0x0008,
>      DXGI_SWAP_CHAIN_FLAG_RESTRICT_SHARED_RESOURCE_DRIVER        = 0x0010,
>      DXGI_SWAP_CHAIN_FLAG_DISPLAY_ONLY                           = 0x0020,
>      DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT          = 0x0040,
> @@ -462,6 +462,11 @@ typedef struct DXGI_ADAPTER_DESC1 {
>      UINT   Flags;
>  } DXGI_ADAPTER_DESC1;
>  
> +typedef struct DXGI_DISPLAY_COLOR_SPACE {
> +    FLOAT PrimaryCoordinates[8][2];
> +    FLOAT WhitePoints[16][2];
> +} DXGI_DISPLAY_COLOR_SPACE;
> +
>  [
>      object,
>      uuid(29038f61-3839-4626-91fd-086879011a05),
> 
> -- 
> 2.27.0
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200813/18348d98/attachment-0001.sig>


More information about the wine-devel mailing list