mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Cleanup.
This commit is contained in:
parent
6394277397
commit
dbca022e31
1 changed files with 3 additions and 2 deletions
|
@ -250,7 +250,7 @@ bool compileHLSLShaderDx9(bx::CommandLine& _cmdLine, const std::string& _code, b
|
||||||
uint8_t nul = 0;
|
uint8_t nul = 0;
|
||||||
bx::write(_writer, nul);
|
bx::write(_writer, nul);
|
||||||
|
|
||||||
#if !defined(__MINGW32__)
|
#if !defined(__MINGW32__)
|
||||||
if (_cmdLine.hasArg('\0', "disasm") )
|
if (_cmdLine.hasArg('\0', "disasm") )
|
||||||
{
|
{
|
||||||
LPD3DXBUFFER disasm;
|
LPD3DXBUFFER disasm;
|
||||||
|
@ -269,7 +269,8 @@ bool compileHLSLShaderDx9(bx::CommandLine& _cmdLine, const std::string& _code, b
|
||||||
disasm->Release();
|
disasm->Release();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif // !defined(__MINGW32__)
|
||||||
|
|
||||||
if (NULL != code)
|
if (NULL != code)
|
||||||
{
|
{
|
||||||
code->Release();
|
code->Release();
|
||||||
|
|
Loading…
Reference in a new issue