Commit 18f076d3 authored by Biswapriyo Nath's avatar Biswapriyo Nath Committed by Alexandre Julliard

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

parent 40690d01
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment