diff --git a/src/renderer_d3d11.h b/src/renderer_d3d11.h index 7cd6c5e9..4484773e 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