Skip to content
Snippets Groups Projects
Commit 2bbba87e authored by Józef Kucia's avatar Józef Kucia
Browse files

include: Avoid redefining DXGI_ERROR constants.

Fixes build for crosstests.

MinGW-w64 defines DXGI_ERRORs in winerror.h.
parent 1a8b7454
No related branches found
No related tags found
No related merge requests found
......@@ -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
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment