[PATCH 5/6] include/d3d10.idl: Use unions in D3D10_BUFFER_RTV structure.
Biswapriyo Nath
nathbappai at gmail.com
Fri Aug 21 23:44:45 CDT 2020
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200822/bd522d5f/attachment.htm>
-------------- next part --------------
From ff3cca1681664818106ecef4778ae02a01bda7d3 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbappai at gmail.com>
Date: Sat, 22 Aug 2020 10:09:55 +0530
Subject: [PATCH 5/6] include/d3d10.idl: Use unions in D3D10_BUFFER_RTV structure.
Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
---
include/d3d10.idl | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/include/d3d10.idl b/include/d3d10.idl
index f125956..2e8927f 100644
--- a/include/d3d10.idl
+++ b/include/d3d10.idl
@@ -660,8 +660,14 @@ typedef enum D3D10_RTV_DIMENSION {
} D3D10_RTV_DIMENSION;
typedef struct D3D10_BUFFER_RTV {
- UINT ElementOffset;
- UINT ElementWidth;
+ union {
+ UINT FirstElement;
+ UINT ElementOffset;
+ };
+ union {
+ UINT NumElements;
+ UINT ElementWidth;
+ };
} D3D10_BUFFER_RTV;
typedef struct D3D10_TEX1D_RTV {
--
2.27.0
More information about the wine-devel
mailing list