D3DXDisassembleShader is not exposed in mingw libraries (nw)

This commit is contained in:
Miodrag Milanovic 2015-04-01 13:29:19 +02:00
parent 97da6b5167
commit 364f80eb5e

View file

@ -250,6 +250,7 @@ bool compileHLSLShaderDx9(bx::CommandLine& _cmdLine, const std::string& _code, b
uint8_t nul = 0;
bx::write(_writer, nul);
#if !defined(__MINGW32__)
if (_cmdLine.hasArg('\0', "disasm") )
{
LPD3DXBUFFER disasm;
@ -268,7 +269,7 @@ bool compileHLSLShaderDx9(bx::CommandLine& _cmdLine, const std::string& _code, b
disasm->Release();
}
}
#endif
if (NULL != code)
{
code->Release();