mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 10:24:12 +01:00
[d3d11] Fix compilation with WINE headers (#247)
All this structures are defined in WINE headers but `D3D11_FORMAT_SUPPORT2`.
This commit is contained in:
parent
62b99c9bd2
commit
acaf6c9e87
@ -39,6 +39,7 @@ typedef enum D3D11_FORMAT_SUPPORT2 {
|
|||||||
D3D11_FORMAT_SUPPORT2_SHAREABLE = 0x400,
|
D3D11_FORMAT_SUPPORT2_SHAREABLE = 0x400,
|
||||||
D3D11_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY = 0x4000
|
D3D11_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY = 0x4000
|
||||||
} D3D11_FORMAT_SUPPORT2;
|
} D3D11_FORMAT_SUPPORT2;
|
||||||
|
#ifndef __WINE__
|
||||||
typedef struct D3D11_FEATURE_DATA_FORMAT_SUPPORT2 {
|
typedef struct D3D11_FEATURE_DATA_FORMAT_SUPPORT2 {
|
||||||
DXGI_FORMAT InFormat;
|
DXGI_FORMAT InFormat;
|
||||||
UINT OutFormatSupport2;
|
UINT OutFormatSupport2;
|
||||||
@ -88,4 +89,5 @@ typedef struct D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT {
|
|||||||
typedef struct D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT {
|
typedef struct D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT {
|
||||||
BOOL SupportsDepthAsTextureWithLessEqualComparisonFilter;
|
BOOL SupportsDepthAsTextureWithLessEqualComparisonFilter;
|
||||||
} D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT;
|
} D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT;
|
||||||
#endif
|
#endif // __WINE__
|
||||||
|
#endif // _MSC_VER
|
||||||
|
Loading…
Reference in New Issue
Block a user