mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
include: Avoid redefining DXGI_ERROR constants.
Fixes build for crosstests. MinGW-w64 defines DXGI_ERRORs in winerror.h.
This commit is contained in:
parent
1a8b74549a
commit
2bbba87ea0
@ -20,8 +20,12 @@ import "vkd3d_windows.h";
|
||||
|
||||
import "dxgiformat.idl";
|
||||
|
||||
cpp_quote("#ifndef DXGI_ERROR_INVALID_CALL")
|
||||
cpp_quote("#define DXGI_ERROR_INVALID_CALL _HRESULT_TYPEDEF_(0x887a0001)")
|
||||
cpp_quote("#endif")
|
||||
cpp_quote("#ifndef DXGI_ERROR_DEVICE_REMOVED")
|
||||
cpp_quote("#define DXGI_ERROR_DEVICE_REMOVED _HRESULT_TYPEDEF_(0x887a0005)")
|
||||
cpp_quote("#endif")
|
||||
|
||||
typedef struct DXGI_SAMPLE_DESC
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user