Skip to content

Commit e5f6612

Browse files
authored
Update main.cpp, it appears we need to erase Fc from arguments because their are passed directly to HLSL Compiler implementation
1 parent 26f2cbf commit e5f6612

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/nsc/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ class ShaderCompiler final : public system::IApplicationFramework
112112
{
113113
output_filepath = outputFlagVector[1];
114114
}
115+
m_arguments.erase(output_flag_pos, output_flag_pos+1);
115116

116117
m_logger->log("Compiled shader code will be saved to " + output_filepath);
117118
}

0 commit comments

Comments
 (0)