fix building under mingw32-w64

This commit is contained in:
Arvid Gerstmann 2015-05-09 02:33:08 +02:00
parent 1aea6fc415
commit 3349d7334a

View File

@ -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