diff --git a/gfx/common/d3d10_common.h b/gfx/common/d3d10_common.h index a097d4c5d1..d85cc7d7f3 100644 --- a/gfx/common/d3d10_common.h +++ b/gfx/common/d3d10_common.h @@ -25,6 +25,16 @@ #define _Out_writes_bytes_opt_(s) #define _Inout_opt_bytecount_(s) + +#define __in +#define __out +#define __in_bcount(size) +#define __in_ecount(size) +#define __out_bcount(size) +#define __out_bcount_part(size, length) +#define __out_ecount(size) +#define __inout +#define __deref_out_ecount(size) #endif #define CINTERFACE diff --git a/gfx/common/d3d11_common.h b/gfx/common/d3d11_common.h index ff98880d26..f44b420e82 100644 --- a/gfx/common/d3d11_common.h +++ b/gfx/common/d3d11_common.h @@ -25,6 +25,16 @@ #define _Out_writes_bytes_opt_(s) #define _Inout_opt_bytecount_(s) + +#define __in +#define __out +#define __in_bcount(size) +#define __in_ecount(size) +#define __out_bcount(size) +#define __out_bcount_part(size, length) +#define __out_ecount(size) +#define __inout +#define __deref_out_ecount(size) #endif #define CINTERFACE diff --git a/gfx/common/d3d12_common.h b/gfx/common/d3d12_common.h index 650b0655b0..da1067c734 100644 --- a/gfx/common/d3d12_common.h +++ b/gfx/common/d3d12_common.h @@ -25,6 +25,16 @@ #define __in_ecount_opt(s) #define static_assert _Static_assert #define _Out_writes_bytes_opt_(s) + +#define __in +#define __out +#define __in_bcount(size) +#define __in_ecount(size) +#define __out_bcount(size) +#define __out_bcount_part(size, length) +#define __out_ecount(size) +#define __inout +#define __deref_out_ecount(size) #endif #define CINTERFACE diff --git a/gfx/common/d3dcompiler_common.h b/gfx/common/d3dcompiler_common.h index dd5931db97..a95e358b87 100644 --- a/gfx/common/d3dcompiler_common.h +++ b/gfx/common/d3dcompiler_common.h @@ -25,6 +25,16 @@ #define _Null_ #define _Out_writes_bytes_opt_(s) + +#define __in +#define __out +#define __in_bcount(size) +#define __in_ecount(size) +#define __out_bcount(size) +#define __out_bcount_part(size, length) +#define __out_ecount(size) +#define __inout +#define __deref_out_ecount(size) #endif #define CINTERFACE diff --git a/gfx/common/dxgi_common.h b/gfx/common/dxgi_common.h index 1c888f7b7c..2ec6721f80 100644 --- a/gfx/common/dxgi_common.h +++ b/gfx/common/dxgi_common.h @@ -9,6 +9,16 @@ #define _Null_ #define _Out_writes_bytes_opt_(s) + +#define __in +#define __out +#define __in_bcount(size) +#define __in_ecount(size) +#define __out_bcount(size) +#define __out_bcount_part(size, length) +#define __out_ecount(size) +#define __inout +#define __deref_out_ecount(size) #endif #define CINTERFACE diff --git a/qb/config.params.sh b/qb/config.params.sh index 33b48498b7..6cbeec3fc6 100644 --- a/qb/config.params.sh +++ b/qb/config.params.sh @@ -37,9 +37,9 @@ HAVE_BUILTINMINIUPNPC=yes # Bake in Mini UPnP client library (for NAT traversal C89_BUILTINMINIUPNPC=no HAVE_D3D8=no # Direct3D 8 support HAVE_D3D9=yes # Direct3D 9 support -HAVE_D3D10=no # Direct3D 10 support -HAVE_D3D11=no # Direct3D 11 support -HAVE_D3D12=no # Direct3D 12 support +HAVE_D3D10=yes # Direct3D 10 support +HAVE_D3D11=yes # Direct3D 11 support +HAVE_D3D12=yes # Direct3D 12 support HAVE_D3DX=yes # Direct3DX support HAVE_OPENGL=auto # OpenGL support HAVE_MALI_FBDEV=no # Mali fbdev context support