@@ -101,7 +101,6 @@ namespace std { namespace tr1 {} using namespace tr1; } // namespace std
namespace stl = std;
#endif // BGFX_CONFIG_USE_TINYSTL
#include <list>
-#include <algorithm>
#include "config.h"
@@ -300,6 +300,7 @@ namespace bgfx
fmt.m_supported = SUCCEEDED(m_d3d9->CheckDeviceFormat(m_adapter, m_deviceType, adapterFormat, fmt.m_usage, fmt.m_type, fmt.m_fmt) );
const char* fourcc = (const char*)&fmt.m_fmt;
BX_TRACE("\t%2d: %c%c%c%c %s", ii, fourcc[0], fourcc[1], fourcc[2], fourcc[3], fmt.m_supported ? "supported" : "");
+ BX_UNUSED(fourcc);
}
m_instancing = false
@@ -8,6 +8,14 @@
#define BGFX_CONFIG_RENDERER_DIRECT3D_EX (BX_PLATFORM_WINDOWS && 0)
+#ifndef D3DSTREAMSOURCE_INDEXEDDATA
+# define D3DSTREAMSOURCE_INDEXEDDATA (1<<30)
+#endif// D3DSTREAMSOURCE_INDEXEDDATA
+
+#ifndef D3DSTREAMSOURCE_INSTANCEDATA
+# define D3DSTREAMSOURCE_INSTANCEDATA (2<<30)
+#endif // D3DSTREAMSOURCE_INSTANCEDATA
#if BX_PLATFORM_WINDOWS
# if !BGFX_CONFIG_RENDERER_DIRECT3D_EX
# define D3D_DISABLE_9EX