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:
parent
40690d0104
commit
18f076d368
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue