From 3349d7334abf676dde79229fd9d1afd353a69d0a Mon Sep 17 00:00:00 2001 From: Arvid Gerstmann Date: Sat, 9 May 2015 02:33:08 +0200 Subject: [PATCH] fix building under mingw32-w64 --- src/renderer_d3d11.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/renderer_d3d11.h b/src/renderer_d3d11.h index 7cd6c5e9a..4484773e9 100644 --- a/src/renderer_d3d11.h +++ b/src/renderer_d3d11.h @@ -75,7 +75,11 @@ BX_PRAGMA_DIAGNOSTIC_POP() # define D3D11_REQ_MAXANISOTROPY 16 # endif // D3D11_REQ_MAXANISOTROPY +// MinGW64 on Windows has this defined in d3d11sdklayers.h. +#ifndef __MINGW64_VERSION_MAJOR typedef void ID3D11InfoQueue; +#endif // __MINGW64_VERSION_MAJYOR + #endif // __MINGW32__ namespace bgfx { namespace d3d11