Fixed VS2008 build.

This commit is contained in:
Branimir Karadžić 2015-06-11 20:16:38 -07:00
parent 52cfaf0aaa
commit 85de7fa148

View file

@ -79,6 +79,26 @@ typedef void ID3D11InfoQueue;
#endif // __MINGW32__
#ifndef D3D_FL9_1_REQ_TEXTURE2D_U_OR_V_DIMENSION
# define D3D_FL9_1_REQ_TEXTURE2D_U_OR_V_DIMENSION 2048
#endif // D3D_FL9_1_REQ_TEXTURE2D_U_OR_V_DIMENSION
#ifndef D3D_FL9_3_REQ_TEXTURE2D_U_OR_V_DIMENSION
# define D3D_FL9_3_REQ_TEXTURE2D_U_OR_V_DIMENSION 4096
#endif // D3D_FL9_3_REQ_TEXTURE2D_U_OR_V_DIMENSION
#ifndef D3D_FL9_1_SIMULTANEOUS_RENDER_TARGET_COUNT
# define D3D_FL9_1_SIMULTANEOUS_RENDER_TARGET_COUNT 1
#endif // D3D_FL9_1_SIMULTANEOUS_RENDER_TARGET_COUNT
#ifndef D3D_FL9_3_SIMULTANEOUS_RENDER_TARGET_COUNT
# define D3D_FL9_3_SIMULTANEOUS_RENDER_TARGET_COUNT 4
#endif // D3D_FL9_3_SIMULTANEOUS_RENDER_TARGET_COUNT
#ifndef D3D_FL9_1_DEFAULT_MAX_ANISOTROPY
# define D3D_FL9_1_DEFAULT_MAX_ANISOTROPY 2
#endif // D3D_FL9_1_DEFAULT_MAX_ANISOTROPY
namespace bgfx { namespace d3d11
{
struct BufferD3D11