include/d3d10.idl: Use unions in D3D10_BUFFER_SRV structure.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Biswapriyo Nath 2020-08-22 10:09:55 +05:30 committed by Alexandre Julliard
parent 40690d0104
commit 18f076d368
1 changed files with 8 additions and 2 deletions

View File

@ -723,8 +723,14 @@ typedef struct D3D10_RENDER_TARGET_VIEW_DESC {
typedef D3D_SRV_DIMENSION D3D10_SRV_DIMENSION;
typedef struct D3D10_BUFFER_SRV {
UINT ElementOffset;
UINT ElementWidth;
union {
UINT FirstElement;
UINT ElementOffset;
};
union {
UINT NumElements;
UINT ElementWidth;
};
} D3D10_BUFFER_SRV;
typedef struct D3D10_TEX1D_SRV {