mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-04 16:24:29 +01:00
fix d3d11 header for MinGW 9 (#1883)
This commit is contained in:
parent
77af1026e2
commit
f337ad3c05
@ -25,6 +25,7 @@
|
|||||||
// directly, although others from the same header work.
|
// directly, although others from the same header work.
|
||||||
// Some structures are missing from the mingw headers.
|
// Some structures are missing from the mingw headers.
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
|
#if !defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 9
|
||||||
typedef enum D3D11_FORMAT_SUPPORT2 {
|
typedef enum D3D11_FORMAT_SUPPORT2 {
|
||||||
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADD = 0x1,
|
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADD = 0x1,
|
||||||
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS = 0x2,
|
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS = 0x2,
|
||||||
@ -41,6 +42,7 @@ typedef enum D3D11_FORMAT_SUPPORT2 {
|
|||||||
} D3D11_FORMAT_SUPPORT2;
|
} D3D11_FORMAT_SUPPORT2;
|
||||||
#define D3D11_RESOURCE_MISC_TILE_POOL (0x20000)
|
#define D3D11_RESOURCE_MISC_TILE_POOL (0x20000)
|
||||||
#define D3D11_RESOURCE_MISC_TILED (0x40000)
|
#define D3D11_RESOURCE_MISC_TILED (0x40000)
|
||||||
|
#endif // !defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 9
|
||||||
#ifndef __WINE__
|
#ifndef __WINE__
|
||||||
|
|
||||||
//MinGW-Headers supports these typedefs since 6.0.0
|
//MinGW-Headers supports these typedefs since 6.0.0
|
||||||
|
Loading…
Reference in New Issue
Block a user