Attempt to get further with D3D12 for mingw - now compiles

but doesn't link yet
This commit is contained in:
twinaphex 2018-01-24 00:14:26 +01:00
parent d387cfbfbe
commit 0e363164b1
2 changed files with 5 additions and 2 deletions

View File

@ -25,6 +25,11 @@
#endif
#define CINTERFACE
#ifdef __MINGW32__
#ifndef __in_ecount_opt
#define __in_ecount_opt(s)
#endif
#endif
#include <d3d12.h>
#include "dxgi_common.h"

View File

@ -2239,8 +2239,6 @@ enum D3D12_MESSAGE_ID
D3D12_MESSAGE_ID_D3D12_MESSAGES_END = ( D3D12_MESSAGE_ID_VIDEO_PROCESS_FRAMES_INVALID_ARGUMENT + 1 )
} D3D12_MESSAGE_ID;
static_assert(D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_UNSUPPORTED == 1000, "Publicly released SDK D3D12_MESSAGE_ID enum values must not be changed. New enum values must be added to the end of the list.");
static_assert(D3D12_MESSAGE_ID_COPY_INVALIDLAYOUT == 1067, "Publicly released SDK D3D12_MESSAGE_ID enum values must not be changed. New enum values must be added to the end of the list.");
typedef struct D3D12_MESSAGE
{
D3D12_MESSAGE_CATEGORY Category;