[PATCH 1/5] include/dxgi.idl: fix typo in DXGI_SWAP_CHAIN_FLAG_RESTRICTED_CONTENT member name
Biswapriyo Nath
nathbappai at gmail.com
Thu Aug 13 09:09:55 CDT 2020
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200813/e2354f7d/attachment.htm>
-------------- next part --------------
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
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
More information about the wine-devel
mailing list