mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-04-24 04:53:28 -04:00
D3DXDisassembleShader is not exposed in mingw libraries (nw)
This commit is contained in:
parent
97da6b5167
commit
364f80eb5e
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue