mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:48:20 +00:00
d3d11.idl: Added CD3D11_QUERY_DESC declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
986306cddb
commit
808b00d6e0
|
@ -632,6 +632,21 @@ typedef struct D3D11_QUERY_DESC
|
|||
UINT MiscFlags;
|
||||
} D3D11_QUERY_DESC;
|
||||
|
||||
cpp_quote("#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)")
|
||||
cpp_quote("struct CD3D11_QUERY_DESC : public D3D11_QUERY_DESC {")
|
||||
cpp_quote(" CD3D11_QUERY_DESC() {}")
|
||||
cpp_quote(" ~CD3D11_QUERY_DESC() {}")
|
||||
cpp_quote(" explicit CD3D11_QUERY_DESC(const D3D11_QUERY_DESC &other) : D3D11_QUERY_DESC(other) {}")
|
||||
cpp_quote(" explicit CD3D11_QUERY_DESC(D3D11_QUERY query, UINT misc_flags = 0) {")
|
||||
cpp_quote(" Query = query;")
|
||||
cpp_quote(" MiscFlags = misc_flags;")
|
||||
cpp_quote(" }")
|
||||
cpp_quote(" operator const D3D11_QUERY_DESC&() const {")
|
||||
cpp_quote(" return *this;")
|
||||
cpp_quote(" }")
|
||||
cpp_quote("};")
|
||||
cpp_quote("#endif")
|
||||
|
||||
typedef struct D3D11_RASTERIZER_DESC
|
||||
{
|
||||
D3D11_FILL_MODE FillMode;
|
||||
|
|
Loading…
Reference in a new issue