diff --git a/README.md b/README.md index 1eece48c2..881f104f5 100644 --- a/README.md +++ b/README.md @@ -89,9 +89,13 @@ If you're building with Visual Studio 2008, you'll need TR1 support from: If you're building with MinGW/TDM compiler on Windows make DirectX SDK directory link to directory without spaces in the path. - mklink /D c:\dxsdk + mklink /D c:\dxsdk setx DXSDK_DIR c:\dxsdk +Apply this patch to DXSDK from June 2010 to be able to use it with MinGW/TDM: + + https://github.com/bkaradzic/bx/blob/master/include/compat/mingw/dxsdk.patch + ### Building Visual Studio 2008 command line: diff --git a/src/renderer_d3d9.cpp b/src/renderer_d3d9.cpp index 3a8f80e8c..8dad2b2a2 100644 --- a/src/renderer_d3d9.cpp +++ b/src/renderer_d3d9.cpp @@ -1188,6 +1188,7 @@ namespace bgfx , regIndex , regCount ); + BX_UNUSED(kind); } m_constantBuffer->finish();