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