diff options
Diffstat (limited to 'tools/render-test/options.cpp')
| -rw-r--r-- | tools/render-test/options.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp index b5d75adf2..dcf0b77b1 100644 --- a/tools/render-test/options.cpp +++ b/tools/render-test/options.cpp @@ -168,10 +168,8 @@ static SlangResult _setRendererType(DeviceType type, const char* arg, Slang::Wri return SLANG_FAIL; } - CommandLine::Arg arg; - arg.type = CommandLine::ArgType::Escaped; - arg.value = *argCursor++; - outOptions.compileArgs.add(arg); + const char* compileArg = *argCursor++; + outOptions.compileArgs.add(compileArg); } else if (strcmp(arg, "-performance-profile") == 0) { |
