diff options
Diffstat (limited to 'source/slang/options.cpp')
| -rw-r--r-- | source/slang/options.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/options.cpp b/source/slang/options.cpp index dc37873a4..6474f2afe 100644 --- a/source/slang/options.cpp +++ b/source/slang/options.cpp @@ -773,6 +773,10 @@ struct OptionsParser { spSetDebugInfoLevel(compileRequest, SLANG_DEBUG_INFO_LEVEL_MAXIMAL); } + else if( argStr == "-default-image-format-unknown" ) + { + requestImpl->getBackEndReq()->useUnknownImageFormatAsDefault = true; + } else if (argStr == "--") { // The `--` option causes us to stop trying to parse options, |
