On 8/13/20 9:09 AM, Biswapriyo Nath wrote:
From 822b528004db5b996a39bf72ccabfefab47d0a1b Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath nathbappai@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@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